summaryrefslogtreecommitdiff
path: root/.coveragerc
diff options
context:
space:
mode:
authorJarrod Millman <jarrod.millman@gmail.com>2017-08-06 07:56:31 -0700
committerDan Schult <dschult@colgate.edu>2017-08-06 10:56:31 -0400
commit7769e35a4753c07c12baeaee4b71a1cc8fe3bc0e (patch)
tree143b3f29411bad4aec1ea091aa81d296f8eee25d /.coveragerc
parent925079143ba68631046cac5c653f2cfdee03738b (diff)
downloadnetworkx-7769e35a4753c07c12baeaee4b71a1cc8fe3bc0e.tar.gz
Use codecov instead of coveralls (#2577)
Diffstat (limited to '.coveragerc')
-rw-r--r--.coveragerc44
1 files changed, 2 insertions, 42 deletions
diff --git a/.coveragerc b/.coveragerc
index cba81418..9d3e1931 100644
--- a/.coveragerc
+++ b/.coveragerc
@@ -1,44 +1,4 @@
-# .coveragerc to control coverage.py
[run]
-branch = False
+branch = True
source = networkx
-omit = */tests/*,*release.py, */external/*
-
-
-[report]
-# Regexes for lines to exclude from consideration
-exclude_lines =
- # Have to re-enable the standard pragma
- pragma: no cover
-
- # Don't complain about missing debug-only code:
- def __repr__
- if self\.debug
-
- # Don't complain if tests don't hit defensive assertion code:
- raise AssertionError
- raise NotImplementedError
-
- # Don't complain if non-runnable code isn't run:
- if 0:
- if __name__ == .__main__.:
-
- # ignore fixtures
- def setup_module
- def teardown_module
-
- # ignore missing import
- #except ImportError
- #raise ImportError
-
- # runtime errors
- except RuntimeError
-
- # hard to test (potentially long running)
- def random_powerlaw_tree_sequence
- def random_powerlaw_tree
-
-ignore_errors = True
-
-[html]
-directory = coverage_html_report
+omit = */tests/*, *release.py