From c3b65737495b5f30d437c6c540b540078a9edd21 Mon Sep 17 00:00:00 2001 From: actionless Date: Fri, 15 Mar 2024 09:13:23 +0100 Subject: [PATCH] fix(maintenance_scripts: lint): install ruff before checking its rules up to date --- maintenance_scripts/lint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maintenance_scripts/lint.sh b/maintenance_scripts/lint.sh index 486c62363..1dbe24b07 100755 --- a/maintenance_scripts/lint.sh +++ b/maintenance_scripts/lint.sh @@ -69,6 +69,7 @@ else echo Checking for unreasonable global vars... ./maintenance_scripts/get_global_expressions.sh + install_ruff echo Ruff rules up-to-date... diff --color -u \ <(awk '/select = \[/,/]/' pyproject.toml \ @@ -82,7 +83,6 @@ else | awk '{print $1;}' \ | sort) echo Ruff... - install_ruff "$RUFF" check "${TARGETS[@]}" echo Flake8...