mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-13 18:56:17 +03:00
Don't complain about compatibility code for missing optional dependencies
This commit is contained in:
parent
9475c46d30
commit
b7d64ac177
|
@ -10,8 +10,8 @@ exclude_also =
|
||||||
def create_lut():
|
def create_lut():
|
||||||
# Don't complain about debug code
|
# Don't complain about debug code
|
||||||
if DEBUG:
|
if DEBUG:
|
||||||
# Don't complain about compatibility code
|
# Don't complain about compatibility code for missing optional dependencies
|
||||||
class TypeGuard:
|
except ImportError
|
||||||
|
|
||||||
[run]
|
[run]
|
||||||
omit =
|
omit =
|
||||||
|
|
Loading…
Reference in New Issue
Block a user