Update Makefile

- Use python from venv
This commit is contained in:
Markus Opolka 2022-09-08 10:01:23 +02:00
parent 2e6eaeea59
commit 0572c2f494
2 changed files with 9 additions and 9 deletions

9
Makefile Normal file
View File

@ -0,0 +1,9 @@
.PHONY: lint test coverage
lint:
python -m pylint check_http_json.py
test:
python -m unittest discover
coverage:
python -m coverage run -m unittest discover
python -m coverage report -m --include check_http_json.py

View File

@ -1,9 +0,0 @@
.PHONY: lint test coverage
lint:
python3 -m pylint check_http_json.py
test:
python3 -m unittest discover
coverage:
python3 -m coverage run -m unittest discover
python3 -m coverage report -m --include check_http_json.py