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