nix: migrate to 'ruff' formatting
Having just the one tool is better. Incidentally, this fixes the ternary formatting, which was messed up in recent `black` versions.
This commit is contained in:
parent
94befa4d1b
commit
43650ade44
7 changed files with 8 additions and 17 deletions
|
|
@ -41,7 +41,6 @@ def update(grid: Grid) -> Grid:
|
|||
|
||||
|
||||
def solve(grid: Grid) -> int:
|
||||
|
||||
for __ in range(6):
|
||||
grid = update(grid)
|
||||
|
||||
|
|
|
|||
|
|
@ -41,7 +41,6 @@ def update(grid: Grid) -> Grid:
|
|||
|
||||
|
||||
def solve(grid: Grid) -> int:
|
||||
|
||||
for __ in range(6):
|
||||
grid = update(grid)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue