Skip to content

Commit

Permalink
More lint fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Isaak-Malers committed Feb 23, 2024
1 parent d87e329 commit 370b48e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/test_generate_method_kwargs.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,12 @@ def types(*, st: str, bo: bool, inn: int, fl: float):
return "yay types"

@staticmethod
# pylint: disable=unused-argument
def types2(*, retries: int):
return "moreTests"

@staticmethod
# pylint: disable=unused-argument
def bad_shorthands(*, url: str, unicode: bool):
"""These both have the same abbreviation"""
return "bad"
Expand Down
1 change: 1 addition & 0 deletions test/test_invalidTargets.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ def noDocstring():
pass


# pylint: disable=unused-argument
def noKwargs(myarg, myarg2):
"""But it does have docstrings"""

Expand Down

0 comments on commit 370b48e

Please sign in to comment.