From 4d4475afd14a33866e48c8f09fffe4c0b9fb7bc8 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Wed, 9 Aug 2023 17:33:28 +0200 Subject: [PATCH] Replace local and CI workflow by pre-commit Calling ruff through pre-commit, we use the stable, pinned down environment used by pre-commit. This helps consistency across the different workflows we use to run checks. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d05f425b63..1915f2e69f 100644 --- a/Makefile +++ b/Makefile @@ -39,7 +39,7 @@ check-dist: rm -rf $(TMP) ruff: - ruff . + pre-commit run --all-files ruff pytest: @if command -v pytest > /dev/null; then \