Always run --fix as part of ts
- ID
6c94d5f- date
2025-05-13 07:29:42+00:00- author
Alex Chan <alex@alexwlchan.net>- parent
4a49dcd- message
Always run `--fix` as part of `ts`- changed files
1 file, 2 additions, 8 deletions
Changed files
ts (3029) → ts (2907)
diff --git a/ts b/ts
index 69386f5..d90a135 100755
--- a/ts
+++ b/ts
@@ -25,14 +25,8 @@ function run_python_tests() {
fi
# Run ruff to do Python formatting
- if [[ "${1:-}" == "--fix" ]]
- then
- print_info "-> ruff check --fix"
- ruff check --fix .
- else
- print_info "-> ruff check"
- ruff check .
- fi
+ print_info "-> ruff check --fix"
+ ruff check --fix .
echo ""