add autopep8 formatting
This commit is contained in:
6
scripts/format.sh
Executable file
6
scripts/format.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
which autopep8 &> /dev/null || { echo "autopep8 not found, please install it."; exit 1; }
|
||||
|
||||
autopep8 --in-place --aggressive --aggressive --recursive --exclude bin,lib,include,venv,.git,__pycache__ .
|
||||
|
||||
echo "Code formatted with autopep8."
|
||||
Reference in New Issue
Block a user