Skip to content

Commit

Permalink
Modify bash/fix_annotations.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
rec committed Dec 13, 2024
1 parent 8ff2fc4 commit b1839a6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bash/fix_annotations.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/bin/bash

# Upgrades a project using lintrunner to use Python 3.9 style annotations

python ~/code/test/python/add_annotations.py $@
pyupgrade --py39-plus $@
ruff check --select TCH --unsafe-fixes --fix $@
lintrunner -a --take=RUFF
lintrunner -a --take=RUFF

0 comments on commit b1839a6

Please # to comment.