summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--tasks.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 89a9eee0..c6a6c494 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,3 +10,5 @@ _build
.coverage
.cache
.idea
+coverage.xml
+htmlcov
diff --git a/tasks.py b/tasks.py
index bfa43ae8..7da6eff1 100644
--- a/tasks.py
+++ b/tasks.py
@@ -60,7 +60,7 @@ def test(
# Leverage how pytest can be run as 'python -m pytest', and then how
# coverage can be told to run things in that manner instead of
# expecting a literal .py file.
- runner = "coverage run --source=paramiko -m pytest"
+ runner = "coverage run -m pytest"
# Strip SSH_AUTH_SOCK from parent env to avoid pollution by interactive
# users.
# TODO: once pytest coverage plugin works, see if there's a pytest-native