mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +03:00
Exclude code only for type checking
This commit is contained in:
parent
8ef0ffc2b8
commit
e614bbfe50
|
@ -10,6 +10,7 @@ exclude_also =
|
||||||
if DEBUG:
|
if DEBUG:
|
||||||
# Don't complain about compatibility code for missing optional dependencies
|
# Don't complain about compatibility code for missing optional dependencies
|
||||||
except ImportError
|
except ImportError
|
||||||
|
if TYPE_CHECKING:
|
||||||
|
|
||||||
[run]
|
[run]
|
||||||
omit =
|
omit =
|
||||||
|
|
Loading…
Reference in New Issue
Block a user