-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
28 lines (19 loc) · 808 Bytes
/
Makefile
File metadata and controls
28 lines (19 loc) · 808 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# tests: flake8 pylint-fail-under unittests behave
flake8:
poetry run flake8
pylint:
find . -name "*.py" -not -path '*/\.*' -exec poetry run pylint --rcfile=.pylintrc '{}' +
pylint-fail-under:
find . -name "*.py" -not -path '*/\.*' -exec poetry run pylint-fail-under --fail_under 9.5 --rcfile=.pylintrc '{}' +
behave:
export NO_ASYNCPG=true && export PYTHONPATH=${PYTHONPATH}:./:./anon_api && poetry run behave tests/behave
behave-debug:
poetry run behave tests/behave --logging-level=DEBUG --no-logcapture
serve-dev:
export PYTHONPATH=${PYTHONPATH}:./ && poetry run ./anon_api/main.py --debug
serve:
export PYTHONPATH=${PYTHONPATH}:./ && ./anon_api/main.py
unittests:
PYTHONPATH=${PYTHONPATH}:./:./matching:./anon_api poetry run pytest --cov=./anon_api .
isort:
poetry run isort ./**/*.py