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 b1839a6 commit e6628b7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bash/fix_annotations.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/bin/bash

# Upgrades a project using lintrunner to use Python 3.9 style annotations
# Uses this Python script:
# https://github.com/rec/test/blob/master/python/add_annotations.py

python ~/code/test/python/add_annotations.py $@
pyupgrade --py39-plus $@
Expand Down

0 comments on commit e6628b7

Please sign in to comment.