Skip to content

Commit aca4863

Browse files
committed
Explicitly call ruff check
Now that ruff includes an autoformatter, `ruff <path>` is deprecated -- you must instead use `ruff check`.
1 parent 48b6031 commit aca4863

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
fail-fast: false
99
matrix:
1010
command:
11-
- "ruff ."
11+
- "ruff check ."
1212
- "ruff format --check ws"
1313
- "mypy ws"
1414
- "pylint --jobs=0 ws"

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,15 @@ check: lint test
5353
.PHONY: fix
5454
fix: install-python-dev
5555
poetry run ruff format .
56-
poetry run ruff --fix .
56+
poetry run ruff check --fix .
5757

5858
.PHONY: lint
5959
lint: lint-python typecheck-python lint-js
6060

6161
.PHONY: lint-python
6262
lint-python: install-python-dev
6363
poetry run ruff format --check .
64-
poetry run ruff .
64+
poetry run ruff check .
6565
poetry run pylint --jobs 0 ws # '0' tells pylint to auto-detect available processors
6666

6767
.PHONY: typecheck-python

0 commit comments

Comments
 (0)