Skip to content

Instantly share code, notes, and snippets.

@carlosb1
Created July 17, 2018 09:03
Show Gist options
  • Save carlosb1/84d437b6ab77f6fdf4374a2bf9e4d77b to your computer and use it in GitHub Desktop.
Save carlosb1/84d437b6ab77f6fdf4374a2bf9e4d77b to your computer and use it in GitHub Desktop.
Dummy script to format python code...
#!/bin/bash
if (($# < 1)); then
echo "It necessary one argument"
exit;
fi
for filename in $1/*.py; do
yapf -i $filename && autoflake -i $filename;
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment