Skip to content

Commit 4203347

Browse files
authored
Merge pull request #433 from davidhewitt/fix-mypy
fix mypy error on main
2 parents 45b095b + e437008 commit 4203347

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setuptools_rust/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -786,7 +786,7 @@ def _replace_cross_target_dir(path: str, ext: RustExtension, *, quiet: bool) ->
786786

787787

788788
def _get_bdist_wheel_cmd( # type: ignore[no-any-unimported]
789-
dist: Distribution, create: bool = True
789+
dist: Distribution, create: Literal[True, False] = True
790790
) -> Optional[CommandBdistWheel]:
791791
try:
792792
cmd_obj = dist.get_command_obj("bdist_wheel", create=create)

0 commit comments

Comments
 (0)