From: Bob Halley Date: Wed, 20 May 2020 14:18:21 +0000 (-0700) Subject: coverage tools X-Git-Tag: v2.0.0rc1~182 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=213b4c2a2b840aab46c714eafd091245ee4e24bd;p=thirdparty%2Fdnspython.git coverage tools --- diff --git a/.gitignore b/.gitignore index 91cf047e..37d27e54 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ dnspython.egg-info/ .mypy_cache/ .python-version poetry.lock +htmlcov diff --git a/Makefile b/Makefile index 8177b150..4caab2c6 100644 --- a/Makefile +++ b/Makefile @@ -79,3 +79,7 @@ potype: poflake: poetry run flake8 dns + +pocov: + poetry run coverage run -m pytest + poetry run coverage html diff --git a/pyproject.toml b/pyproject.toml index 732af706..44a1dd70 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,6 +21,7 @@ mypy = "^0.770" pytest = "^5.4.1" flake8 = "^3.7.9" sphinx = "^3.0.0" +coverage = "^5.1" [tool.poetry.extras] doh = ['requests', 'requests-toolbelt']