Skip to content

Commit

Permalink
docs(lint): ensure callback names unused parameter consistently for mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
philtweir committed Jan 8, 2025
1 parent 84bbe84 commit b0635bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dewret/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def render(
if output == "-":

@contextmanager
def _opener(key: str, _: str) -> Generator[IO[Any], None, None]:
def _opener(key: str, mode: str) -> Generator[IO[Any], None, None]:
print(" ------ ", key, " ------ ")
yield sys.stdout
print()
Expand Down

0 comments on commit b0635bf

Please sign in to comment.