From 420ef86679073021dd4c5394a23c7664f8f470d9 Mon Sep 17 00:00:00 2001 From: Joe Rickerby Date: Mon, 10 Apr 2023 22:24:20 +0100 Subject: [PATCH] Apply @henryiii's suggestion --- cibuildwheel/__main__.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cibuildwheel/__main__.py b/cibuildwheel/__main__.py index 2f4bc2ac..e7e55152 100644 --- a/cibuildwheel/__main__.py +++ b/cibuildwheel/__main__.py @@ -257,13 +257,13 @@ class PlatformModule(typing.Protocol): def get_platform_module(platform: PlatformName) -> PlatformModule: - if platform == "linux": # noqa: SIM116 + if platform == "linux": return cibuildwheel.linux - elif platform == "windows": + if platform == "windows": return cibuildwheel.windows - elif platform == "macos": + if platform == "macos": return cibuildwheel.macos - assert_never(platform) + assert_never(platform) # noqa: RET503 def build_in_directory(args: CommandLineArguments) -> None: