]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
coverage tools
authorBob Halley <halley@dnspython.org>
Wed, 20 May 2020 14:18:21 +0000 (07:18 -0700)
committerBob Halley <halley@dnspython.org>
Wed, 20 May 2020 14:18:21 +0000 (07:18 -0700)
.gitignore
Makefile
pyproject.toml

index 91cf047ef6d04338aa678030182dd7f24dc661d2..37d27e542ddded4599674b577dce8bf574d9b8ec 100644 (file)
@@ -13,3 +13,4 @@ dnspython.egg-info/
 .mypy_cache/
 .python-version
 poetry.lock
+htmlcov
index 8177b1500fdcd65f7094853031007d2be5e6d4a1..4caab2c679468d4fe6fa38cf3077dbcfb419cabb 100644 (file)
--- 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
index 732af70670c7bb86509f64fdf30a87ec3c3152b4..44a1dd70852eec1dab26278b3f4a39223baf0c00 100644 (file)
@@ -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']