From 8dbf43ea996af62b12a6804920c31fcff83a55ed Mon Sep 17 00:00:00 2001 From: Holger Frey Date: Fri, 20 Apr 2018 12:58:00 +0200 Subject: [PATCH] ignoring scripts for simple coverage --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index aa3aa73..7fd0fd6 100644 --- a/Makefile +++ b/Makefile @@ -57,8 +57,8 @@ test: ## run tests quickly with the default Python, ignoring functional tests coverage: ## check code coverage quickly with the default Python coverage run --source ordr -m pytest --ignore tests/_functional/ - coverage report -m - coverage html + coverage report -m --omit=ordr/scripts/* + coverage html --omit=ordr/scripts/* $(BROWSER) htmlcov/index.html fcoverage: ## check code coverage with the default Python and functional tests