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)
|
||||
except (ModuleNotFoundError, exceptions.AocError) as e:
|
||||
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
|
||||
|
||||
p_1 = getattr(solution_module, "part_1", None)
|
||||
|
||||
@@ -10,8 +10,6 @@ select = [
|
||||
'UP', # pyupgrade
|
||||
'B', # flake8-bugbear
|
||||
'C', # flake8-comprehensions
|
||||
'DTZ', # flake8-datetimez
|
||||
'DJ', # flake8-django
|
||||
'RUF', # ruff
|
||||
'N', # pep8-naming
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user