Skip to main content

scripts: remove pytest-cov dependency

ID
6d798d5
date
2026-05-13 12:28:07+00:00
author
Alex Chan <alex@alexwlchan.net>
parent
1308f4a
message
scripts: remove pytest-cov dependency
changed files
3 files, 7 additions, 10 deletions

Changed files

dev_requirements.in (84) → dev_requirements.in (89)

diff --git a/dev_requirements.in b/dev_requirements.in
index 1911fb6..65e242a 100644
--- a/dev_requirements.in
+++ b/dev_requirements.in
@@ -1,6 +1,7 @@
 -e file:.[fetch,media,static_site_tests,text,urls]
 
+coverage
 mypy
-pytest-cov
+pytest
 pytest-vcr
 ruff

dev_requirements.txt (1189) → dev_requirements.txt (1135)

diff --git a/dev_requirements.txt b/dev_requirements.txt
index 6e133fb..2bffb1f 100644
--- a/dev_requirements.txt
+++ b/dev_requirements.txt
@@ -5,7 +5,7 @@
 certifi==2026.4.22
     # via alexwlchan-chives
 coverage==7.13.5
-    # via pytest-cov
+    # via -r dev_requirements.in
 greenlet==3.5.0
     # via playwright
 iniconfig==2.3.0
@@ -25,20 +25,16 @@ pillow==12.2.0
 playwright==1.59.0
     # via alexwlchan-chives
 pluggy==1.6.0
-    # via
-    #   pytest
-    #   pytest-cov
+    # via pytest
 pyee==13.0.1
     # via playwright
 pygments==2.20.0
     # via pytest
 pytest==9.0.3
     # via
+    #   -r dev_requirements.in
     #   alexwlchan-chives
-    #   pytest-cov
     #   pytest-vcr
-pytest-cov==7.1.0
-    # via -r dev_requirements.in
 pytest-vcr==1.0.2
     # via -r dev_requirements.in
 pyyaml==6.0.3

scripts/run_chives_tests.sh (412) → scripts/run_chives_tests.sh (437)

diff --git a/scripts/run_chives_tests.sh b/scripts/run_chives_tests.sh
index aabda75..0a1dedc 100755
--- a/scripts/run_chives_tests.sh
+++ b/scripts/run_chives_tests.sh
@@ -19,5 +19,5 @@ fi
 
 run_command 'ruff check'
 run_command 'mypy src tests'
-run_command "coverage run -m pytest tests"
-run_command "coverage report"
+run_command "python3 -m coverage run -m pytest -q tests"
+run_command "python3 -m coverage report"