Skip to content

Commit 6afc578

Browse files
committed
Linting.
1 parent bd23717 commit 6afc578

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

coverage_pyver_pragma/__init__.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,9 @@
4949

5050
DSL_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

coverage_pyver_pragma/grammar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
API Reference
9696
----------------
9797
98-
"""
98+
""" # noqa: D400
9999
#
100100
# Copyright © 2021 Dominic Davis-Foster <[email protected]>
101101
#

0 commit comments

Comments
 (0)