Skip to content

Commit

Permalink
docs,Makefile: ruff -> ruff check (ruff 0.3.0)
Browse files Browse the repository at this point in the history
warning: `ruff <path>` is deprecated. Use `ruff check <path>` instead.

See also: https://github.com/astral-sh/ruff/blob/v0.3.0/CHANGELOG.md
  • Loading branch information
tony committed Nov 23, 2024
1 parent aa84153 commit 7afd679
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ ruff_format:
uv run ruff format .

ruff:
uv run ruff .
uv run ruff check .

watch_ruff:
if command -v entr > /dev/null; then ${PY_FILES} | entr -c $(MAKE) ruff; else $(MAKE) ruff entr_warn; fi
Expand Down
6 changes: 3 additions & 3 deletions docs/contributing/workflow.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ $ uv run ruff
If you setup manually:
```console
$ ruff .
$ ruff check .
```
````
Expand Down Expand Up @@ -94,13 +94,13 @@ requires [`entr(1)`].
uv:
```console
$ uv run ruff . --fix
$ uv run ruff check . --fix
```
If you setup manually:
```console
$ ruff . --fix
$ ruff check . --fix
```
````
Expand Down

0 comments on commit 7afd679

Please sign in to comment.