Fix line break after binary operator (#2119)

* Fix line break after binary operator

* fixup! Format Python code with psf/black push

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
This commit is contained in:
Christian Clauss 2020-06-15 15:47:02 +02:00 committed by GitHub
parent 23dae9ceab
commit 0b028aa32a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -97,10 +97,12 @@ def run_maze(maze, i, j, solutions):
solutions[i][j] = 1 solutions[i][j] = 1
# check for directions # check for directions
if (run_maze(maze, i + 1, j, solutions) or if (
run_maze(maze, i, j + 1, solutions) or run_maze(maze, i + 1, j, solutions)
run_maze(maze, i - 1, j, solutions) or or run_maze(maze, i, j + 1, solutions)
run_maze(maze, i, j - 1, solutions)): or run_maze(maze, i - 1, j, solutions)
or run_maze(maze, i, j - 1, solutions)
):
return True return True
solutions[i][j] = 0 solutions[i][j] = 0