Skip to content

Commit b608047

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 53940c2 commit b608047

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ $ poetry run ruff
344344
If you setup manually:
345345
346346
```console
347-
$ ruff .
347+
$ ruff check .
348348
```
349349
350350
````
@@ -372,13 +372,13 @@ requires [`entr(1)`].
372372
poetry:
373373
374374
```console
375-
$ poetry run ruff . --fix
375+
$ poetry run ruff check . --fix
376376
```
377377
378378
If you setup manually:
379379
380380
```console
381-
$ ruff . --fix
381+
$ ruff check . --fix
382382
```
383383
384384
````

0 commit comments

Comments
 (0)