From 31ae3f25e797d53f85537fbdd5eff264efe4a922 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sviatoslav=20Sydorenko=20=28=D0=A1=D0=B2=D1=8F=D1=82=D0=BE?= =?UTF-8?q?=D1=81=D0=BB=D0=B0=D0=B2=20=D0=A1=D0=B8=D0=B4=D0=BE=D1=80=D0=B5?= =?UTF-8?q?=D0=BD=D0=BA=D0=BE=29?= Date: Fri, 13 Sep 2024 22:20:51 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=AA=F0=9F=92=85=20Migrate=20to=20`excl?= =?UTF-8?q?ude=5Falso`=20@=20`coveragerc`=20(#15513)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is an option that appeared in Coverage.py v7.2.0. --- .coveragerc | 5 +---- 1 file changed, 1 insertion(+), 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