Don't complain about compatibility code for missing optional dependencies

This commit is contained in:
Hugo van Kemenade 2023-12-31 10:30:22 -07:00 committed by GitHub
parent 9475c46d30
commit b7d64ac177
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 =