1
Fork 0
mirror of https://github.com/RGBCube/GitHubWrapper synced 2025-05-20 16:05:08 +00:00

Fix some bugs in parser

This commit is contained in:
RGBCube 2022-06-26 17:52:43 +03:00
parent 8f4e18cb2b
commit ce0cd52ce2
2 changed files with 7 additions and 7 deletions

View file

@ -57,11 +57,8 @@ else:
end = time.perf_counter() - start
exit_code = os.system(
os.system(
f"unimport {to} --gitignore -r --ignore-init; isort {to}; black {to}; flynt {to} -tc",
)
if exit_code != 0:
print(f"Formatting failed with exit code {exit_code}")
print(f"\n\nSuccess! Finished in {end*1000:.3} milliseconds")