File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 21
21
22
22
import pkg_resources
23
23
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
25
25
from setuptools .command .build_ext import build_ext as CommandBuildExt
26
26
from setuptools .command .build_ext import get_abi3_suffix
27
27
from typing_extensions import Literal
@@ -90,7 +90,7 @@ def finalize_options(self) -> None:
90
90
self .data_dir = self .get_data_dir ()
91
91
92
92
if self .plat_name is None :
93
- self .plat_name = cast ( # type: ignore[no-any-unimported]
93
+ self .plat_name = cast (
94
94
CommandBuild , self .get_finalized_command ("build" )
95
95
).plat_name
96
96
assert isinstance (self .plat_name , str )
You can’t perform that action at this time.
0 commit comments