Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ci:

repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.7.4
rev: v0.8.0
hooks:
- id: ruff
args: [--fix]
Expand Down
4 changes: 2 additions & 2 deletions flake8_async/visitors/visitor103_104.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@
"ASYNC103": _async103_common_msg,
"ASYNC104": "Cancelled (and therefore BaseException) must be re-raised.",
}
for poss_library in _suggestion_dict:
for poss_library, _lib_suggest in _suggestion_dict.items():
_error_codes[f"ASYNC103_{'_'.join(poss_library)}"] = (
_async103_common_msg + _suggestion.format(_suggestion_dict[poss_library])
_async103_common_msg + _suggestion.format(_lib_suggest)
)


Expand Down
Loading