Created
August 26, 2020 17:55
-
-
Save steven-mi/383664de336dc29f3bbea9976710ce7b to your computer and use it in GitHub Desktop.
format all python scripts in a certain directory
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
pip install autopep8 | |
for filename in ./dags/*.py; do | |
echo $filename | |
autopep8 -i $filename | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment