Skip to content

Commit 2729e24

Browse files
committed
remove unneeded mypy type: ignore comments
1 parent c5cafcc commit 2729e24

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setuptools_rust/build.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
import pkg_resources
2323
from semantic_version import Version
24-
from setuptools.command.build import build as CommandBuild # type: ignore[import]
24+
from setuptools.command.build import build as CommandBuild
2525
from setuptools.command.build_ext import build_ext as CommandBuildExt
2626
from setuptools.command.build_ext import get_abi3_suffix
2727
from typing_extensions import Literal
@@ -90,7 +90,7 @@ def finalize_options(self) -> None:
9090
self.data_dir = self.get_data_dir()
9191

9292
if self.plat_name is None:
93-
self.plat_name = cast( # type: ignore[no-any-unimported]
93+
self.plat_name = cast(
9494
CommandBuild, self.get_finalized_command("build")
9595
).plat_name
9696
assert isinstance(self.plat_name, str)

0 commit comments

Comments
 (0)