Add script/format

This commit is contained in:
richard-dds 2018-08-23 16:24:29 -04:00
parent 8806705bc3
commit 49c9980b09

9
script/format Executable file
View File

@ -0,0 +1,9 @@
#!/bin/bash
FILES_TO_FORMAT="atst/ tests/ app.py"
if [ $1 == "check" ]; then
black --check -q ${FILES_TO_FORMAT}
else
black ${FILES_TO_FORMAT}
fi