Skip to content

Commit

Permalink
fix: workarounds for unused-function-argument (ARG001) by ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
ssato committed Mar 20, 2024
1 parent 0c47315 commit f470612
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/anyconfig/template/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
SUPPORTED = False

def try_render(
filepath: typing.Optional[str] = None, # type: ignore[ARG001]
content: typing.Optional[str] = None, # type: ignore[ARG001]
**options
filepath: typing.Optional[str] = None, # noqa: ARG001
content: typing.Optional[str] = None, # noqa: ARG001
**options # noqa: ARG001
) -> typing.Optional[str]:
"""Provide a dummy function does nothing but returns None."""
return None
Expand Down

0 comments on commit f470612

Please sign in to comment.