Skip to content

Commit d4cc000

Browse files
Apply ruff/Pylint rule PLC0414
PLC0414 Import alias does not rename original package
1 parent 494b33c commit d4cc000

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/wheel/bdist_wheel.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,17 @@
1010
)
1111

1212
if TYPE_CHECKING:
13-
from ._bdist_wheel import bdist_wheel as bdist_wheel
13+
from ._bdist_wheel import bdist_wheel # noqa: F401
1414
else:
1515
try:
1616
# Better integration/compatibility with setuptools:
1717
# in the case new fixes or PEPs are implemented in setuptools
1818
# there is no need to backport them to the deprecated code base.
1919
# This is useful in the case of old packages in the ecosystem
2020
# that are still used but have low maintenance.
21-
from setuptools.command.bdist_wheel import bdist_wheel
21+
from setuptools.command.bdist_wheel import bdist_wheel # noqa: F401
2222
except ImportError:
2323
# Only used in the case of old setuptools versions.
2424
# If the user wants to get the latest fixes/PEPs,
2525
# they are encouraged to address the deprecation warning.
26-
from ._bdist_wheel import bdist_wheel as bdist_wheel
26+
from ._bdist_wheel import bdist_wheel

0 commit comments

Comments
 (0)