Skip to content

Commit

Permalink
Fix build workflow: verify/lint (#123)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
asnare authored Jul 10, 2024
1 parent b274882 commit a4cf2df
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ fmt = ["isort .",
"ruff check . --fix",
"mypy .",
"pylint --output-format=colorized -j 0 src"]
verify = ["black --check .",
"isort . --check-only",
"ruff .",
verify = ["isort . --check-only",
"ruff format --check --diff",
"ruff check .",
"mypy .",
"pylint --output-format=colorized -j 0 src"]

Expand Down

0 comments on commit a4cf2df

Please sign in to comment.