Skip to content

Commit a229d45

Browse files
committed
📝minor formatting changes
1 parent 9c8dd0a commit a229d45

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

aoc_25/solutions/day03.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def part1(data: ListsOfBatteryLists) -> int:
4141
# Gotta sliiiide through that list like you're sliding into some DMs ;)
4242
for i in range(len(x) - 1):
4343
first_battery: int = x[i]
44-
the_rest: list[int] = x[i + 1 :] # the rest of battery gang, yadayada
44+
the_rest: list[int] = x[i + 1 :] # the rest of batterygang,yadayada
4545

4646
biggest_of_the_rest: int = max(the_rest) # Bigger IS better.
4747

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,14 @@ target-version = "py314"
1616

1717
[tool.ruff.lint]
1818
select = ["E", "F", "W"]
19-
ignore = ["E501"]
19+
ignore = ["E501", "E203", "E211"]
2020

2121
[tool.mypy]
2222
python_version = "3.14"
2323
ignore_missing_imports = true
2424
pretty = true
2525

26+
2627
disallow_untyped_defs = false
2728
disallow_incomplete_defs = true
2829
warn_unused_ignores = true

0 commit comments

Comments
 (0)