summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.coveragerc2
-rw-r--r--pytest.ini2
-rw-r--r--setup.cfg1
3 files changed, 4 insertions, 1 deletions
diff --git a/.coveragerc b/.coveragerc
new file mode 100644
index 0000000..896b501
--- /dev/null
+++ b/.coveragerc
@@ -0,0 +1,2 @@
+[run]
+omit = .tox/*
diff --git a/pytest.ini b/pytest.ini
index 10681ad..a86fb66 100644
--- a/pytest.ini
+++ b/pytest.ini
@@ -1,6 +1,6 @@
[pytest]
norecursedirs=dist build .tox .eggs
-addopts=--doctest-modules --flake8 --black
+addopts=--doctest-modules --flake8 --black --cov
doctest_optionflags=ALLOW_UNICODE ELLIPSIS
filterwarnings=
ignore:Possible nested set::pycodestyle:113
diff --git a/setup.cfg b/setup.cfg
index 9345869..77df505 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -30,6 +30,7 @@ testing =
pytest-checkdocs
pytest-flake8
pytest-black-multipy
+ pytest-cov
# local