chore: Code linting
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
|
|
||||||
WINS_OVER = {
|
WINS_OVER = {
|
||||||
"A": "C",
|
"A": "C",
|
||||||
"B": "A",
|
"B": "A",
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
|
from collections.abc import Iterable
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from typing import Generator, TypeVar
|
from typing import Generator, TypeVar
|
||||||
from collections.abc import Iterable
|
|
||||||
|
|
||||||
|
|
||||||
T = TypeVar("T")
|
T = TypeVar("T")
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
from typing import ContextManager, Optional
|
|
||||||
from solution import part1, part2, priority, chunks
|
|
||||||
|
|
||||||
from contextlib import nullcontext as no_raise
|
from contextlib import nullcontext as no_raise
|
||||||
|
from typing import ContextManager, Optional
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
|
from solution import chunks, part1, part2, priority
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
def example_data() -> str:
|
def example_data() -> str:
|
||||||
Reference in New Issue
Block a user