Skip to content

Commit

Permalink
Address complaints from pycodestyle (#2945)
Browse files Browse the repository at this point in the history
left those in horizons/util/tile_orientation.py
and even added another warning there
for source and python-interpretation to better match
  • Loading branch information
bmwiedemann committed Jul 24, 2020
1 parent 965dd5e commit 0c5339a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion horizons/session.py
Expand Up @@ -442,4 +442,4 @@ def _do_save(self, savegame):
return False

def SetLogBook(self, logbook):
self.view.SetLogBook(logbook)
self.view.SetLogBook(logbook)
2 changes: 1 addition & 1 deletion horizons/util/checkupdates.py
Expand Up @@ -42,7 +42,7 @@
TIMEOUT = 5.0 # we should be done before the user can start a game


def is_system_installed(uh_path: Optional[PurePath]=None) -> bool:
def is_system_installed(uh_path: Optional[PurePath] = None) -> bool:
"""
Returns whether UH is likely to have been installed with the systems package manager.
Expand Down
2 changes: 1 addition & 1 deletion horizons/util/tile_orientation.py
Expand Up @@ -43,7 +43,7 @@ def get_tile_alignment_action(origin, is_similar_tile):
\ ..\ \/ \/.. \/..
/ ../ / .. /\..
/ ./ / . /..\.
/ / / /....\
/ / / /....\
ad adh abde abf (im- abcdfg
possible)
Expand Down
2 changes: 1 addition & 1 deletion stage_build_mac.py
Expand Up @@ -112,7 +112,7 @@ def tearDown(run):

# If the -r or --run arg is passed we start the app after build
if run:
os.popen("open ./dist/Unknown\ Horizons.app")
os.popen("open ./dist/Unknown\\ Horizons.app")


def build(pyver):
Expand Down

0 comments on commit 0c5339a

Please sign in to comment.