Python: Fix linting issues

The following Flake8 issues were fixed:

* W291
* W504

* F821
* F401
* F541

* E402
* E711
This commit is contained in:
Martin Thoma
2022-03-14 13:13:20 +01:00
parent 8b16a70d32
commit 0ba0307767
16 changed files with 48 additions and 50 deletions

View File

@@ -919,7 +919,7 @@ def end_game(won=False, quit=True, enterprise_killed=False):
print(f"IT IS STARDATE {round(t, 1)}")
print(f"THERE WERE {k9} KLINGON BATTLE CRUISERS LEFT AT")
print(f"THE END OF YOUR MISSION.\n\n")
print("THE END OF YOUR MISSION.\n\n")
if b9 == 0:
exit()