We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bab0965 commit 0d54ee6Copy full SHA for 0d54ee6
bugbear.py
@@ -1023,14 +1023,14 @@ def visit_comprehension(self, node):
1023
)
1024
B021 = Error(
1025
message=(
1026
- "B021 f-string used as docstring."
+ "B021 f-string used as docstring. "
1027
"This will be interpreted by python as a joined string rather than a docstring."
1028
1029
1030
B022 = Error(
1031
1032
- "B022 No arguments passed to `contextlib.suppress`."
1033
- "No exceptions will be suppressed and therefore this"
+ "B022 No arguments passed to `contextlib.suppress`. "
+ "No exceptions will be suppressed and therefore this "
1034
"context manager is redundant."
1035
1036
0 commit comments