File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 4949
5050DSL_EXCLUDE = re .compile (r'.*#\s*(?:pragma|PRAGMA)[:\s]?\s*(?:no|NO)\s*(?:cover|COVER)\s*\((.*)\)' )
5151"""
52- Compiled regular expression to match comments in the for ``# pragma: no cover (XXX)``,
53- where ``XXX`` is an expression to be evaluated to determine whether the line should be excluded from coverage.
52+ Compiled regular expression to match comments in the ``# pragma: no cover (XXX)``,
53+ where ``XXX`` is an expression to be evaluated to determine whether the line
54+ should be excluded from coverage.
5455
5556.. versionadded:: 0.2.0
5657"""
@@ -62,6 +63,8 @@ def evaluate_exclude(expression: str) -> bool:
6263
6364 .. versionadded:: 0.2.0
6465
66+ |
67+
6568 :param expression:
6669 """
6770
Original file line number Diff line number Diff line change 9595API Reference
9696----------------
9797
98- """
98+ """ # noqa: D400
9999#
100100# Copyright © 2021 Dominic Davis-Foster <dominic@davis-foster.co.uk>
101101#
You can’t perform that action at this time.
0 commit comments