chore: fix reported linter issues
This commit is contained in:
@@ -62,7 +62,8 @@ def run_day(year: int, day: int, input_data: str, path_base: pathlib.Path) -> No
|
|||||||
spec.loader.exec_module(solution_module)
|
spec.loader.exec_module(solution_module)
|
||||||
except (ModuleNotFoundError, exceptions.AocError) as e:
|
except (ModuleNotFoundError, exceptions.AocError) as e:
|
||||||
raise exceptions.AocError(
|
raise exceptions.AocError(
|
||||||
f"solution module for {year}/{day:02} not found: run 'python main.py create --year {year} {day}'"
|
f"solution module for {year}/{day:02} not found: "
|
||||||
|
f"run 'python main.py create --year {year} {day}'"
|
||||||
) from e
|
) from e
|
||||||
|
|
||||||
p_1 = getattr(solution_module, "part_1", None)
|
p_1 = getattr(solution_module, "part_1", None)
|
||||||
|
|||||||
@@ -10,8 +10,6 @@ select = [
|
|||||||
'UP', # pyupgrade
|
'UP', # pyupgrade
|
||||||
'B', # flake8-bugbear
|
'B', # flake8-bugbear
|
||||||
'C', # flake8-comprehensions
|
'C', # flake8-comprehensions
|
||||||
'DTZ', # flake8-datetimez
|
|
||||||
'DJ', # flake8-django
|
|
||||||
'RUF', # ruff
|
'RUF', # ruff
|
||||||
'N', # pep8-naming
|
'N', # pep8-naming
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user