From c625a57b29cac2cc52f9670be20b5a6f1e95a115 Mon Sep 17 00:00:00 2001 From: PhilNewm Date: Fri, 26 Jun 2026 17:29:14 +0200 Subject: [PATCH] replace black and flake with ruff --- base/container_scripts/run_lint_tests.sh | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/base/container_scripts/run_lint_tests.sh b/base/container_scripts/run_lint_tests.sh index c2b536e..491592d 100755 --- a/base/container_scripts/run_lint_tests.sh +++ b/base/container_scripts/run_lint_tests.sh @@ -13,13 +13,7 @@ export XDG_CONFIG_HOME=/opt/scripts/ cd "/src/$PACKAGE/" -black --check --diff . - -if [[ -f flake8.cfg ]]; -then - flake8 --config flake8.cfg "${PACKAGE}" -else - flake8 -fi +ruff format --check --diff +ruff check [ ! -x .ci/scripts/extra_linting.sh ] || .ci/scripts/extra_linting.sh