From 71a908b59a9714686b59a7eaab8ef8e69786de3a Mon Sep 17 00:00:00 2001 From: Juan Nunez-Iglesias Date: Tue, 3 Mar 2015 12:31:56 +1100 Subject: [PATCH] Ignore the doc directory for testing --- .coveragerc | 1 + setup.cfg | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.coveragerc b/.coveragerc index 5a942bd..9e31e7d 100644 --- a/.coveragerc +++ b/.coveragerc @@ -1,5 +1,6 @@ [run] omit = + doc/* *test_package* *test_* *generate_test_results* diff --git a/setup.cfg b/setup.cfg index 3d29b40..a17bf01 100644 --- a/setup.cfg +++ b/setup.cfg @@ -4,4 +4,4 @@ ; run doctests (--doctest-modules) ; run coverage (--cov .) ; report uncovered lines (--cov-report term-missing) -addopts = --ignore gala/test_package.py --ignore tests/toy-data --ignore gala/auto.py --ignore gala/segmentation_stitch.py --ignore gala/stack_np.py --ignore gala/stitch.py --ignore gala/valprob.py --ignore tests/_util/generate-test-results.py --ignore tests/example-data/example.py --doctest-modules --cov . --cov-report term-missing +addopts = --ignore doc --ignore gala/test_package.py --ignore tests/toy-data --ignore gala/auto.py --ignore gala/segmentation_stitch.py --ignore gala/stack_np.py --ignore gala/stitch.py --ignore gala/valprob.py --ignore tests/_util/generate-test-results.py --ignore tests/example-data/example.py --doctest-modules --cov . --cov-report term-missing