Skip to content

Commit

Permalink
🎨 Format Python code with psf/black (#22)
Browse files Browse the repository at this point in the history
Co-authored-by: VincentAuriau <[email protected]>
  • Loading branch information
github-actions[bot] and VincentAuriau authored Oct 28, 2023
1 parent 7a95a2c commit 7367934
Show file tree
Hide file tree
Showing 2 changed files with 326 additions and 328 deletions.
4 changes: 2 additions & 2 deletions python/engine/material.py
Original file line number Diff line number Diff line change
Expand Up @@ -973,7 +973,7 @@ def piece_move_authorized(self, start, end):

if not super().piece_move_authorized(start=start, end=end):
return False

dx = end.get_x() - start.get_x()
dy = end.get_y() - start.get_y()

Expand Down Expand Up @@ -1197,7 +1197,7 @@ def piece_move_authorized(self, start, end):
bool
Whether the movement is authorized by the piece possibilities or not.
"""

if not super().piece_move_authorized(start=start, end=end):
return False
dx = end.get_x() - start.get_x()
Expand Down
Loading

0 comments on commit 7367934

Please sign in to comment.