mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-05 09:21:13 +08:00
Make some ruff fixes (#8154)
* Make some ruff fixes * Undo manual fix * Undo manual fix * Updates from ruff=0.0.251
This commit is contained in:
@ -129,9 +129,9 @@ def depth_first_search(
|
||||
|
||||
# If it is False we call dfs function again and we update the inputs
|
||||
depth_first_search(
|
||||
possible_board + [col],
|
||||
diagonal_right_collisions + [row - col],
|
||||
diagonal_left_collisions + [row + col],
|
||||
[*possible_board, col],
|
||||
[*diagonal_right_collisions, row - col],
|
||||
[*diagonal_left_collisions, row + col],
|
||||
boards,
|
||||
n,
|
||||
)
|
||||
|
Reference in New Issue
Block a user