Skip to content

Commit 8b7accd

Browse files
committed
update justfile and docs
1 parent 72aad6d commit 8b7accd

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,4 +520,4 @@ To profile a test script and generate a flame graph, follow these steps:
520520
Dependabot will raise PRs at most once per week, grouped by GitHub Actions updates and Python requirement
521521
file updates. We have a pre-commit hook that will update the `uv.lock` file when requirements change.
522522
To update the lock file on a failing PR, you can use a method like `gh pr checkout <pr number>`, then run
523-
`uvx pre-commit run --all-files uv-lock` to update the lock file, and then push the changes.
523+
`just lint uv-lock` to update the lock file, and then push the changes.

justfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@ typing-pyright: && resync
5050
{{typing_run}} pyright -p strict_pyrightconfig.json test/test_typing_strict.py
5151

5252
[group('lint')]
53-
lint: && resync
54-
uv run pre-commit run --all-files
53+
lint *args="": && resync
54+
uv run pre-commit run --all-files {{args}}
5555

5656
[group('lint')]
57-
lint-manual: && resync
58-
uv run pre-commit run --all-files --hook-stage manual
57+
lint-manual *args="": && resync
58+
uv run pre-commit run --all-files --hook-stage manual {{args}}
5959

6060
[group('test')]
6161
test *args="-v --durations=5 --maxfail=10": && resync

0 commit comments

Comments
 (0)