File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed
Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -414,7 +414,7 @@ def as_subcommand_to(
414414 Callable [[CommandParentType ], argparse .ArgumentParser ], # Cmd or CommandSet classmethod
415415 ],
416416 * ,
417- help : Optional [str ] = None ,
417+ help : Optional [str ] = None , # noqa: A002
418418 aliases : Optional [list [str ]] = None ,
419419) -> Callable [[ArgparseCommandFunc [CommandParent ]], ArgparseCommandFunc [CommandParent ]]:
420420 """
Original file line number Diff line number Diff line change @@ -258,10 +258,6 @@ per-file-ignores."cmd2/cmd2.py" = [
258258 " PYI024" , # Use `typing.NamedTuple` instead of `collections.namedtuple`
259259]
260260
261- per-file-ignores."cmd2/decorators.py" = [
262- " A002" , # `as_subcommand_to` function argument `help` is shadowing a Python builtin
263- ]
264-
265261per-file-ignores."docs/conf.py" = [
266262 " F401" , # Unused import
267263]
You can’t perform that action at this time.
0 commit comments