From a4cf2df2780a87625f146c4777485ce7ab597804 Mon Sep 17 00:00:00 2001 From: Andrew Snare Date: Wed, 10 Jul 2024 15:46:35 +0200 Subject: [PATCH] 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. --- pyproject.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 5aeb537..03caa08 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"]