Skip to content

Instantly share code, notes, and snippets.

@steven-mi
Created August 26, 2020 17:55
Show Gist options
  • Save steven-mi/383664de336dc29f3bbea9976710ce7b to your computer and use it in GitHub Desktop.
Save steven-mi/383664de336dc29f3bbea9976710ce7b to your computer and use it in GitHub Desktop.
format all python scripts in a certain directory
#!/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