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 15cef5a commit f227f41
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 @@ -33,7 +33,7 @@ ruff_format:
poetry run ruff format .

ruff:
ruff .
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/developing.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ $ poetry run ruff
If you setup manually:
```console
$ ruff .
$ ruff check .
```
````
Expand Down Expand Up @@ -91,13 +91,13 @@ requires [`entr(1)`].
poetry:
```console
$ poetry run ruff . --fix
$ poetry run ruff check . --fix
```
If you setup manually:
```console
$ ruff . --fix
$ ruff check . --fix
```
````
Expand Down

0 comments on commit f227f41

Please sign in to comment.