forked from f4lco/om-parser-stw-potsdam-v2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
34 lines (23 loc) · 718 Bytes
/
Makefile
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
29
30
31
32
33
34
RUN=FLASK_APP="stw_potsdam.views" pipenv run flask run
dependencies:
pipenv sync --dev
run:
$(RUN)
debug:
FLASK_ENV=development $(RUN)
test:
pipenv run python -m pytest -vv --cov-branch --cov stw_potsdam --cov-report term --cov-report html
test_debug:
pipenv run python -m pytest -v --trace
coverage_publish:
pipenv run python -m coveralls
coverage_report:
pipenv run python -m coverage report --fail-under 90
lint:
pipenv run pycodestyle stw_potsdam tests
pipenv run pydocstyle stw_potsdam tests
pipenv run pylint stw_potsdam tests
clean:
pipenv run python -m coverage erase
rm -rf .pytest_cache .cache
.PHONY: dependencies run debug test test_debug coverage_publish coverage_report lint clean