From 75627e8ca42a50fc5ec3881fdf1e6f637781fa9d Mon Sep 17 00:00:00 2001 From: Joe Rickerby Date: Wed, 28 Feb 2024 09:11:06 +0000 Subject: [PATCH] Limit line length to 100 cols --- cibuildwheel/__main__.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/cibuildwheel/__main__.py b/cibuildwheel/__main__.py index e88fb2bff..de57ee985 100644 --- a/cibuildwheel/__main__.py +++ b/cibuildwheel/__main__.py @@ -192,7 +192,9 @@ def _compute_platform_auto() -> PlatformName: return "windows" else: print( - 'cibuildwheel: Unable to detect platform from "sys.platform". cibuildwheel doesn\'t support building wheels for this platform. You might be able to build for a different platform using the --platform argument. Check --help output for more information.', + 'cibuildwheel: Unable to detect platform from "sys.platform". cibuildwheel doesn\'t ' + "support building wheels for this platform. You might be able to build for a different " + "platform using the --platform argument. Check --help output for more information.", file=sys.stderr, ) sys.exit(2) @@ -277,7 +279,9 @@ def build_in_directory(args: CommandLineArguments) -> None: # Add CIBUILDWHEEL environment variable os.environ["CIBUILDWHEEL"] = "1" - # Python is buffering by default when running on the CI platforms, giving problems interleaving subprocess call output with unflushed calls to 'print' + # Python is buffering by default when running on the CI platforms, giving + # problems interleaving subprocess call output with unflushed calls to + # 'print' sys.stdout = Unbuffered(sys.stdout) # type: ignore[assignment] # create the cache dir before it gets printed & builds performed