fix: fix 'redefined-outer-name' for pylint
This commit is contained in:
parent
a47dfbad01
commit
87af670df6
2 changed files with 2 additions and 1 deletions
|
@ -24,6 +24,7 @@ enable=anomalous-backslash-in-string,
|
||||||
no-self-argument,
|
no-self-argument,
|
||||||
possibly-used-before-assignment,
|
possibly-used-before-assignment,
|
||||||
redefined-argument-from-local,
|
redefined-argument-from-local,
|
||||||
|
redefined-outer-name,
|
||||||
too-few-public-methods,
|
too-few-public-methods,
|
||||||
trailing-whitespace,
|
trailing-whitespace,
|
||||||
unspecified-encoding,
|
unspecified-encoding,
|
||||||
|
|
|
@ -44,7 +44,7 @@ def problems(
|
||||||
help="System for which to perform checks; can be specified more "
|
help="System for which to perform checks; can be specified more "
|
||||||
"than once. If not specified, all systems are assumed.")] = None,
|
"than once. If not specified, all systems are assumed.")] = None,
|
||||||
|
|
||||||
problems: Annotated[
|
problems: Annotated[ # pylint: disable=redefined-outer-name
|
||||||
List[str],
|
List[str],
|
||||||
typer.Option('--problem', '-p',
|
typer.Option('--problem', '-p',
|
||||||
help="Identify a particular problem check; can be specified "
|
help="Identify a particular problem check; can be specified "
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue