Skip to content

Commit

Permalink
fix(maintenance_scripts: lint): return back SKIP_RUFF for ubuntu's ci
Browse files Browse the repository at this point in the history
  • Loading branch information
actionless committed Jun 16, 2024
1 parent 4121a2d commit 890a30a
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions maintenance_scripts/lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,14 @@ else
./maintenance_scripts/get_global_expressions.sh "${TARGETS[@]}"
echo ':: check passed ::'

echo -e "\n== Ruff..."
install_ruff
"$RUFF" check "${TARGETS[@]}"
echo ':: ruff passed ::'
if [[ "${SKIP_RUFF:-}" = "1" ]] ; then
echo -e "\n!! WARNING !! skipping Ruff"
else
echo -e "\n== Ruff..."
install_ruff
"$RUFF" check "${TARGETS[@]}"
echo ':: ruff passed ::'
fi

echo -e "\n== Running flake8:"
flake8 "${TARGETS[@]}" 2>&1
Expand Down

0 comments on commit 890a30a

Please sign in to comment.