Skip to content

Commit

Permalink
Codechange: fix various linting issues found by pyflakes
Browse files Browse the repository at this point in the history
  • Loading branch information
andythenorth committed Sep 11, 2023
1 parent 7c4d52b commit 94822a1
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 11 deletions.
3 changes: 1 addition & 2 deletions src/gestalt_graphics/gestalt_graphics.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import gestalt_graphics.graphics_constants as graphics_constants
from gestalt_graphics import pipelines
import utils
import global_constants


class GestaltGraphics(object):
Expand Down Expand Up @@ -617,7 +616,7 @@ def get_output_row_types(self):
]
else:
raise BaseException(
consist_ruleset
self.consist_ruleset
+ " not matched in GestaltGraphicsAutomobilesTransporter get_output_row_types()"
)
if self.add_masked_overlay:
Expand Down
2 changes: 1 addition & 1 deletion src/gestalt_graphics/pipelines.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
TransposeAsymmetricSprites,
)
import polar_fox.pixa as pixa
from polar_fox.pixa import Spritesheet, PieceCargoSprites
from polar_fox.pixa import PieceCargoSprites
from gestalt_graphics import graphics_constants

DOS_PALETTE = Image.open("palette_key.png").palette
Expand Down
2 changes: 0 additions & 2 deletions src/rosters/ibex.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import global_constants

from roster import Roster

from vehicles import ae_3_5
Expand Down
2 changes: 0 additions & 2 deletions src/rosters/moose.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import global_constants

from roster import Roster

from vehicles import niagra
Expand Down
2 changes: 0 additions & 2 deletions src/rosters/pony.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import global_constants

from roster import Roster

from vehicles import ares
Expand Down
2 changes: 0 additions & 2 deletions src/spritelayer_cargo.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from copy import deepcopy

import global_constants # expose all constants for easy passing to templates

from spritelayer_cargos import registered_spritelayer_cargos
Expand Down

0 comments on commit 94822a1

Please sign in to comment.