Limit line length to 100 cols
This commit is contained in:
@@ -192,7 +192,9 @@ def _compute_platform_auto() -> PlatformName:
|
|||||||
return "windows"
|
return "windows"
|
||||||
else:
|
else:
|
||||||
print(
|
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,
|
file=sys.stderr,
|
||||||
)
|
)
|
||||||
sys.exit(2)
|
sys.exit(2)
|
||||||
@@ -277,7 +279,9 @@ def build_in_directory(args: CommandLineArguments) -> None:
|
|||||||
# Add CIBUILDWHEEL environment variable
|
# Add CIBUILDWHEEL environment variable
|
||||||
os.environ["CIBUILDWHEEL"] = "1"
|
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]
|
sys.stdout = Unbuffered(sys.stdout) # type: ignore[assignment]
|
||||||
|
|
||||||
# create the cache dir before it gets printed & builds performed
|
# create the cache dir before it gets printed & builds performed
|
||||||
|
|||||||
Reference in New Issue
Block a user