Exclude `if TYPE_CHECKING` and `...` from coverage.

This commit is contained in:
Wilfredo Sánchez 2021-04-06 15:03:02 -07:00
parent 092286c7ce
commit 87a1839757
1 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,9 @@
[run]
branch = True
omit = */flycheck_*
[report]
precision = 2
exclude_lines =
if TYPE_CHECKING
\s*\.\.\.$