3
0
Fork 0

fix: fix 'redefined-outer-name' for pylint

This commit is contained in:
Lance Edgar 2025-08-30 20:26:55 -05:00
parent a47dfbad01
commit 87af670df6
2 changed files with 2 additions and 1 deletions

View file

@ -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,

View file

@ -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 "