Skip to content

Commit

Permalink
pep8
Browse files Browse the repository at this point in the history
  • Loading branch information
einarf committed Oct 5, 2021
1 parent 147776f commit 96ab136
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 0 additions & 1 deletion arcade/hitbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import pymunk

from PIL import Image
from arcade import NamedPoint
from arcade import Point
from typing import List, Union, Tuple
from pymunk import autogeometry
Expand Down
7 changes: 6 additions & 1 deletion arcade/paths.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,12 @@ def __init__(self, barriers: Union[List, Tuple, Set],
self.bottom = bottom

if diagonal_movement:
self.movement_directions = (1, 0), (-1, 0), (0, 1), (0, -1), (1, 1), (-1, 1), (1, -1), (-1, -1) # type: ignore
self.movement_directions = ( # type: ignore
(1, 0), (-1, 0),
(0, 1), (0, -1),
(1, 1), (-1, 1),
(1, -1), (-1, -1)
)
else:
self.movement_directions = (1, 0), (-1, 0), (0, 1), (0, -1) # type: ignore

Expand Down

0 comments on commit 96ab136

Please sign in to comment.