Skip to content

Commit 6482f99

Browse files
committed
docs,Makefile: ruff -> ruff check (ruff 0.3.0)
warning: `ruff <path>` is deprecated. Use `ruff check <path>` instead. See also: https://github.com/astral-sh/ruff/blob/v0.3.0/CHANGELOG.md
1 parent 3300660 commit 6482f99

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ ruff_format:
4242
poetry run ruff format .
4343

4444
ruff:
45-
poetry run ruff .
45+
poetry run ruff check .
4646

4747
watch_ruff:
4848
if command -v entr > /dev/null; then ${PY_FILES} | entr -c $(MAKE) ruff; else $(MAKE) ruff entr_warn; fi

docs/developing.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ $ poetry run ruff
6969
If you setup manually:
7070
7171
```console
72-
$ ruff .
72+
$ ruff check .
7373
```
7474
7575
````
@@ -97,13 +97,13 @@ requires [`entr(1)`].
9797
poetry:
9898
9999
```console
100-
$ poetry run ruff . --fix
100+
$ poetry run ruff check . --fix
101101
```
102102
103103
If you setup manually:
104104
105105
```console
106-
$ ruff . --fix
106+
$ ruff check . --fix
107107
```
108108
109109
````

0 commit comments

Comments
 (0)