bash fix
This commit is contained in:
parent
5b40ae49f3
commit
761a42e580
2 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
# Run within root directory
|
# Run within root directory
|
||||||
|
|
||||||
if [ $1 = "check" ]; then
|
if [[ $1 = "check" ]]; then
|
||||||
isort . --check-only --diff \
|
isort . --check-only --diff \
|
||||||
&& black . --check \
|
&& black . --check \
|
||||||
&& pylint src/ \
|
&& pylint src/ \
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
# Run within root directory
|
# Run within root directory
|
||||||
|
|
||||||
if [ $1 = "html" ]; then
|
if [[ $1 = "html" ]]; then
|
||||||
coverage run -m pytest && coverage html
|
coverage run -m pytest && coverage html
|
||||||
else
|
else
|
||||||
coverage run -m pytest && coverage report
|
coverage run -m pytest && coverage report
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue