nix: migrate to 'ruff'
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
f9fc9fbd6b
commit
741bb33544
8 changed files with 20 additions and 17 deletions
|
|
@ -63,7 +63,9 @@ def solve(input: List[str]) -> int:
|
|||
(
|
||||
"v"
|
||||
if Point(x, y) in map.south
|
||||
else ">" if Point(x, y) in map.east else "."
|
||||
else ">"
|
||||
if Point(x, y) in map.east
|
||||
else "."
|
||||
)
|
||||
for y in range(map.dimensions.y)
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue