Exclude code only for type checking
This commit is contained in:
parent
8ef0ffc2b8
commit
e614bbfe50
@ -10,6 +10,7 @@ exclude_also =
|
||||
if DEBUG:
|
||||
# Don't complain about compatibility code for missing optional dependencies
|
||||
except ImportError
|
||||
if TYPE_CHECKING:
|
||||
|
||||
[run]
|
||||
omit =
|
||||
|
||||
Loading…
Reference in New Issue
Block a user