|
|
|
@ -50,13 +50,13 @@ clean-test: ## remove test and coverage artifacts
@@ -50,13 +50,13 @@ clean-test: ## remove test and coverage artifacts
|
|
|
|
|
rm -fr htmlcov/ |
|
|
|
|
|
|
|
|
|
lint: ## check style with flake8
|
|
|
|
|
flake8 ordr |
|
|
|
|
flake8 ordr tests |
|
|
|
|
|
|
|
|
|
test: ## run tests quickly with the default Python, ignoring functional tests
|
|
|
|
|
py.test |
|
|
|
|
|
|
|
|
|
coverage: ## check code coverage quickly with the default Python
|
|
|
|
|
coverage run --source ordr -m pytest --ignore ordr/tests/_functional/ |
|
|
|
|
coverage run --source ordr -m pytest --ignore tests/_functional/ |
|
|
|
|
coverage report -m |
|
|
|
|
coverage html |
|
|
|
|
$(BROWSER) htmlcov/index.html |
|
|
|
|