summaryrefslogtreecommitdiffstats
path: root/.coveragerc
diff options
context:
space:
mode:
authorSviatoslav Sydorenko (Святослав Сидоренко) <wk@sydorenko.org.ua>2024-09-13 22:20:51 +0200
committerGitHub <noreply@github.com>2024-09-13 22:20:51 +0200
commit31ae3f25e797d53f85537fbdd5eff264efe4a922 (patch)
tree81fef1c21110d87ebacb2730f291ca8132d1a8e3 /.coveragerc
parent🧪🚑 Fix checking schema in CI on merge (#15514) (diff)
downloadawx-31ae3f25e797d53f85537fbdd5eff264efe4a922.tar.xz
awx-31ae3f25e797d53f85537fbdd5eff264efe4a922.zip
🧪💅 Migrate to `exclude_also` @ `coveragerc` (#15513)
This is an option that appeared in Coverage.py v7.2.0.
Diffstat (limited to '.coveragerc')
-rw-r--r--.coveragerc5
1 files changed, 1 insertions, 4 deletions
diff --git a/.coveragerc b/.coveragerc
index 28183950fd..f561042f39 100644
--- a/.coveragerc
+++ b/.coveragerc
@@ -1,9 +1,6 @@
[report]
# Regexes for lines to exclude from consideration
-exclude_lines =
- # Have to re-enable the standard pragma
- pragma: no cover
-
+exclude_also =
# Don't complain about missing debug-only code:
def __repr__
if self\.debug