Skip to content

Commit

Permalink
Ignore F821 in-line
Browse files Browse the repository at this point in the history
  • Loading branch information
jsh9 committed Feb 8, 2024
1 parent 13a6d23 commit c4b5143
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pydoclint/utils/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,10 +181,10 @@ def _replacer(match: Match[str]) -> str:
def appendArgsToCheckToV105(
*,
original_v105: Violation,
funcArgs: 'ArgList',
docArgs: 'ArgList',
funcArgs: 'ArgList', # noqa: F821
docArgs: 'ArgList', # noqa: F821
) -> Violation:
"""Append the arg names to check to the error message of v105"""
argsToCheck: List['Arg'] = funcArgs.findArgsWithDifferentTypeHints(docArgs)
argsToCheck: List['Arg'] = funcArgs.findArgsWithDifferentTypeHints(docArgs) # noqa: F821
argNames: str = ', '.join(_.name for _ in argsToCheck)
return original_v105.appendMoreMsg(moreMsg=argNames)

0 comments on commit c4b5143

Please sign in to comment.