File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -15,10 +15,23 @@ show_missing = true
1515precision = 2
1616omit = *migrations*
1717exclude_lines =
18+ # Lines matching these regexes don't need to be covered
19+ # https://coverage.readthedocs.io/en/coverage-5.5/excluding.html?highlight=exclude_lines#advanced-exclusion
20+
21+ # this is the default but must be explicitly specified since
22+ # we are overriding exclude_lines
1823 pragma: no cover
24+
25+ # abstract methods won't ever be run
1926 abc\.abstractmethod
27+
28+ # overloads won't ever be run
2029 typing\.overload
30+
31+ # ellipses (...) are often used in type-hint related stub code
2132 ^\s*\.\.\.\s*$
33+
34+ # TYPE_CHECKING guarded code won't be run
2235 if typing.TYPE_CHECKING:
2336 if t.TYPE_CHECKING:
2437 if TYPE_CHECKING:
You can’t perform that action at this time.
0 commit comments