remove old linter/test tool
This commit is contained in:
parent
07e5cd008c
commit
8a65d7205b
2 changed files with 0 additions and 23 deletions
11
tools/linter
11
tools/linter
|
|
@ -1,11 +0,0 @@
|
||||||
# Run within root directory
|
|
||||||
|
|
||||||
if [[ $1 = "check" ]]; then
|
|
||||||
isort . --check-only --diff \
|
|
||||||
&& black . --check \
|
|
||||||
&& pylint src/
|
|
||||||
else
|
|
||||||
isort .
|
|
||||||
black .
|
|
||||||
pylint src/
|
|
||||||
fi
|
|
||||||
12
tools/test
12
tools/test
|
|
@ -1,12 +0,0 @@
|
||||||
# Run within root directory
|
|
||||||
|
|
||||||
if [[ $1 = "html" ]]; then
|
|
||||||
coverage run -m pytest && coverage report && coverage html
|
|
||||||
elif [[ $1 = "xml" ]]; then
|
|
||||||
coverage run -m pytest && coverage report && coverage xml
|
|
||||||
elif [[ $1 = "unit" ]]; then
|
|
||||||
coverage run -m pytest tests/unit && coverage report
|
|
||||||
else
|
|
||||||
coverage run -m pytest && coverage report
|
|
||||||
fi
|
|
||||||
|
|
||||||
Loading…
Reference in a new issue