We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7fb9eeb + 10b1261 commit e4aae60Copy full SHA for e4aae60
setup.cfg
@@ -18,6 +18,12 @@ exclude_lines =
18
# Have to re-enable the standard pragma
19
pragma: no cover
20
21
+ # TYPE_CHECKING guarded code only affects type checkers.
22
+ ^ +if (False|TYPE_CHECKING):
23
+ # constant used in protocols and abstract methods, does not run anything
24
+ # and has no side effects.
25
+ ^ +\.\.\.$
26
+
27
# Don't complain if non-runnable code isn't run:
28
if 0:
29
if __name__ == .__main__.:
0 commit comments