We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea58c7a commit 5f008c3Copy full SHA for 5f008c3
.pre-commit-config.yaml
@@ -8,7 +8,7 @@ ci:
8
9
repos:
10
- repo: https://github.com/astral-sh/ruff-pre-commit
11
- rev: v0.7.4
+ rev: v0.8.0
12
hooks:
13
- id: ruff
14
args: [--fix]
flake8_async/visitors/visitor103_104.py
@@ -51,9 +51,9 @@
51
"ASYNC103": _async103_common_msg,
52
"ASYNC104": "Cancelled (and therefore BaseException) must be re-raised.",
53
}
54
-for poss_library in _suggestion_dict:
+for poss_library, _lib_suggest in _suggestion_dict.items():
55
_error_codes[f"ASYNC103_{'_'.join(poss_library)}"] = (
56
- _async103_common_msg + _suggestion.format(_suggestion_dict[poss_library])
+ _async103_common_msg + _suggestion.format(_lib_suggest)
57
)
58
59
0 commit comments