Tidy ups, bug fixes

This commit is contained in:
Joe Rickerby
2022-04-27 01:01:31 -04:00
committed by Henry Schreiner
parent 898dd62022
commit 8c77d5ed41
2 changed files with 10 additions and 15 deletions
+2 -2
View File
@@ -22,7 +22,7 @@ def main() -> None:
the package directory.
""",
),
epilog="""Any further arguments will be passed on to cibuildwheel.""",
epilog="Any further arguments will be passed on to cibuildwheel.",
formatter_class=argparse.RawDescriptionHelpFormatter,
)
@@ -65,7 +65,7 @@ def main() -> None:
temp_dir_contents = list(temp_dir.iterdir())
if len(temp_dir_contents) != 1 or not temp_dir_contents[0].is_dir:
if len(temp_dir_contents) != 1 or not temp_dir_contents[0].is_dir():
exit("invalid sdist: didn't contain a single dir")
project_dir = temp_dir_contents[0]