Skip to content

Commit a4cf2df

Browse files
authored
Fix build workflow: verify/lint (#123)
This PR adds fixes the `verify` build target (invoked via `make lint`) so that it: a) mirrors the `fmt` targets, but without making changes; b) works without `black` being installed.
1 parent b274882 commit a4cf2df

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ fmt = ["isort .",
6464
"ruff check . --fix",
6565
"mypy .",
6666
"pylint --output-format=colorized -j 0 src"]
67-
verify = ["black --check .",
68-
"isort . --check-only",
69-
"ruff .",
67+
verify = ["isort . --check-only",
68+
"ruff format --check --diff",
69+
"ruff check .",
7070
"mypy .",
7171
"pylint --output-format=colorized -j 0 src"]
7272

0 commit comments

Comments
 (0)