Skip to content

Commit

Permalink
fix(maintenance_scripts: lint): install ruff before checking its rule…
Browse files Browse the repository at this point in the history
…s up to date
  • Loading branch information
actionless committed Mar 15, 2024
1 parent 2a11e72 commit c3b6573
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion maintenance_scripts/lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -82,7 +83,6 @@ else
| awk '{print $1;}' \
| sort)
echo Ruff...
install_ruff
"$RUFF" check "${TARGETS[@]}"

echo Flake8...
Expand Down

0 comments on commit c3b6573

Please sign in to comment.