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.
2 parents 2e35771 + 5f008c3 commit d6162ceCopy full SHA for d6162ce
.pre-commit-config.yaml
@@ -9,7 +9,7 @@ ci:
9
10
repos:
11
- repo: https://github.com/astral-sh/ruff-pre-commit
12
- rev: v0.7.4
+ rev: v0.8.0
13
hooks:
14
- id: ruff
15
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