Add script/format
This commit is contained in:
9
script/format
Executable file
9
script/format
Executable 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
|
Reference in New Issue
Block a user