From 87af670df6815c3a499dac27bfd4e22c8a7da9bb Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Sat, 30 Aug 2025 20:26:55 -0500 Subject: [PATCH] fix: fix 'redefined-outer-name' for pylint --- .pylintrc | 1 + src/wuttjamaican/cli/problems.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.pylintrc b/.pylintrc index 78a42e4..486afbc 100644 --- a/.pylintrc +++ b/.pylintrc @@ -24,6 +24,7 @@ enable=anomalous-backslash-in-string, no-self-argument, possibly-used-before-assignment, redefined-argument-from-local, + redefined-outer-name, too-few-public-methods, trailing-whitespace, unspecified-encoding, diff --git a/src/wuttjamaican/cli/problems.py b/src/wuttjamaican/cli/problems.py index 226b0fc..0638fd1 100644 --- a/src/wuttjamaican/cli/problems.py +++ b/src/wuttjamaican/cli/problems.py @@ -44,7 +44,7 @@ def problems( help="System for which to perform checks; can be specified more " "than once. If not specified, all systems are assumed.")] = None, - problems: Annotated[ + problems: Annotated[ # pylint: disable=redefined-outer-name List[str], typer.Option('--problem', '-p', help="Identify a particular problem check; can be specified "