Add script/format
This commit is contained in:
parent
8806705bc3
commit
49c9980b09
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
|
Loading…
x
Reference in New Issue
Block a user