Skip to content

Commit d6162ce

Browse files
committed
Merge remote-tracking branch 'origin/main' into fix_release_stuff
2 parents 2e35771 + 5f008c3 commit d6162ce

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ci:
99

1010
repos:
1111
- repo: https://github.com/astral-sh/ruff-pre-commit
12-
rev: v0.7.4
12+
rev: v0.8.0
1313
hooks:
1414
- id: ruff
1515
args: [--fix]

flake8_async/visitors/visitor103_104.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@
5151
"ASYNC103": _async103_common_msg,
5252
"ASYNC104": "Cancelled (and therefore BaseException) must be re-raised.",
5353
}
54-
for poss_library in _suggestion_dict:
54+
for poss_library, _lib_suggest in _suggestion_dict.items():
5555
_error_codes[f"ASYNC103_{'_'.join(poss_library)}"] = (
56-
_async103_common_msg + _suggestion.format(_suggestion_dict[poss_library])
56+
_async103_common_msg + _suggestion.format(_lib_suggest)
5757
)
5858

5959

0 commit comments

Comments
 (0)