Skip to content

Commit 52fa828

Browse files
committed
ci: Disable pylint import-error
1 parent 90ef411 commit 52fa828

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

openapi_python_client/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
from .utils import snake_case
2121

2222
if sys.version_info.minor < 8: # version did not exist before 3.8, need to use a backport
23-
# pylint: disable=import-error
2423
from importlib_metadata import version
2524
else:
2625
from importlib.metadata import version # type: ignore

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ disable = [
113113
# Disable any type-checking, that's what mypy is for
114114
"no-member",
115115
"no-name-in-module",
116+
"import-error",
116117
# False positives
117118
"cyclic-import",
118119
]

0 commit comments

Comments
 (0)