Skip to content

Commit

Permalink
Fix unused noqa
Browse files Browse the repository at this point in the history
  • Loading branch information
trumully committed Sep 5, 2024
1 parent 8561432 commit 0f040ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dynamo/utils/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ async def prompt(
self,
message: str,
*,
timeout: float = 60.0, # noqa: ASYNC109 - timeout is not awaited
timeout: float = 60.0,
delete_after: bool = True,
author_id: int | None = None,
) -> bool | None:
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ ignore = [
"COM812", # ruff format suggested
"ISC001", # ruff format suggested
"B008",
"ASYNC109", # timeout is not awaited
]
unfixable = [
"ERA" # I don't want anything erroneously detected deleted by this.
Expand Down

0 comments on commit 0f040ae

Please sign in to comment.