Skip to content

Commit

Permalink
And also ignore type-check only guarded imports
Browse files Browse the repository at this point in the history
They must not be covered! If they were, that would be a serious problem
  • Loading branch information
dkfellows committed Aug 4, 2023
1 parent db0d3c3 commit 58f2d5b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@ exclude_lines =
@overload
\.\.\.$
raise\s+NotImplementedError
if\s+TYPE_CHECKING:
#\s*(pragma|PRAGMA)[:\s]?\s*(no|NO)\s*(cover|COVER)

0 comments on commit 58f2d5b

Please sign in to comment.