python/pyfmt: format before linting
- ID
5b53cfc- date
2026-04-11 20:31:19+00:00- author
Alex Chan <alex@alexwlchan.net>- parent
818f540- message
python/pyfmt: format before linting- changed files
1 file, 4 additions, 4 deletions
Changed files
python/pyfmt (1005) → python/pyfmt (1005)
diff --git a/python/pyfmt b/python/pyfmt
index aeeed2e..13bec00 100755
--- a/python/pyfmt
+++ b/python/pyfmt
@@ -40,10 +40,10 @@ else
fi
-print_info "-> ruff check --fix"
-bash -c "$RUFF check $ROOT --fix"
+print_info "-> ruff format"
+bash -c "$RUFF format $ROOT"
echo ""
-print_info "-> ruff format"
-bash -c "$RUFF format $ROOT"
+print_info "-> ruff check --fix"
+bash -c "$RUFF check $ROOT --fix"