Skip to content

Commit 7fcb6b3

Browse files
committed
Fix ty invocation (CI, docs)
1 parent e32dd96 commit 7fcb6b3

File tree

4 files changed

+30
-2
lines changed

4 files changed

+30
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
python-version: "3.x"
2424
- uses: pre-commit/action@v3.0.0
2525
- uses: astral-sh/setup-uv@v5
26-
- run: uvx ty check # Until they add a pre-commit hook
26+
- run: uv run ty check # Until they add a pre-commit hook
2727

2828
test:
2929
strategy:

docs/development.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ to the pre-commit hook in the future (when an official ty hook is available),
2626
but for now, you can run it manually:
2727

2828
```sh
29-
uvx ty check
29+
uv run ty check
3030
```
3131

3232
To run the tests:

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ test = [
5151
]
5252
dev = [
5353
{include-group = "test"},
54+
"ty >= 0.0.9",
5455
]
5556
docs = [
5657
"jgo >= 1.0",

uv.lock

Lines changed: 27 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)