refactor: Drop implicit str concatentation (ISC001)
- Applied through ruff (`ruff check --select=TC --unsafe-fixes --fix`)
This commit is contained in:
parent
eb5ca74524
commit
d70029dde9
|
@ -61,13 +61,14 @@ build-backend = "poetry.core.masonry.api"
|
|||
line-length = 120
|
||||
target-version = "py39"
|
||||
lint.select = [
|
||||
"B", # flake8-bugbear
|
||||
"E4", # pycodestyle - error - import
|
||||
"E7", # pycodestyle - error - statement
|
||||
"E9", # pycodestyle - error - runtime
|
||||
"F", # pyflakes
|
||||
"I", # isort
|
||||
"UP", # pyupgrade
|
||||
"B", # flake8-bugbear
|
||||
"E4", # pycodestyle - error - import
|
||||
"E7", # pycodestyle - error - statement
|
||||
"E9", # pycodestyle - error - runtime
|
||||
"F", # pyflakes
|
||||
"I", # isort
|
||||
"ISC", # flake8-implicit-str-concat
|
||||
"UP", # pyupgrade
|
||||
]
|
||||
lint.isort.required-imports = [
|
||||
"from __future__ import annotations",
|
||||
|
|
|
@ -188,9 +188,9 @@ def parse_step_arguments(step: Step, context: StepFunctionContext) -> dict[str,
|
|||
"""Parse step arguments."""
|
||||
parsed_args = context.parser.parse_arguments(step.name)
|
||||
|
||||
assert parsed_args is not None, (
|
||||
f"Unexpected `NoneType` returned from " f"parse_arguments(...) in parser: {context.parser!r}"
|
||||
)
|
||||
assert (
|
||||
parsed_args is not None
|
||||
), f"Unexpected `NoneType` returned from parse_arguments(...) in parser: {context.parser!r}"
|
||||
|
||||
reserved_args = set(parsed_args.keys()) & STEP_ARGUMENTS_RESERVED_NAMES
|
||||
if reserved_args:
|
||||
|
|
Loading…
Reference in New Issue