ty/scripts
Zanie Blue d50d72c144
Clean up some path handling in the schemastore script (#273)
Mostly making sure that the script is robust to alternative working
directories, and some stylistic nits.

Following up on
https://github.com/astral-sh/ty/pull/65#discussion_r2077839514 — not to
be annoying, but using `git` to find the root _can_ be wrong here


```
❯ cd ruff
❯ uv run --only-dev ../scripts/update_schemastore.py
> /Users/zb/workspace/ty/scripts/update_schemastore.py(146)main()
-> breakpoint()
(Pdb) print(root)
/Users/zb/workspace/ty/ruff
```
2025-05-08 09:32:18 -05:00
..
release.sh Move rooster into a dependency group for locking (#64) 2025-05-06 10:38:28 -05:00
update_schemastore.py Clean up some path handling in the schemastore script (#273) 2025-05-08 09:32:18 -05:00