Skip to content

Commit

Permalink
Fix missing space typos in B021, B022 error messages (#257)
Browse files Browse the repository at this point in the history
  • Loading branch information
gschaffner committed May 2, 2022
1 parent bab0965 commit 0d54ee6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bugbear.py
Expand Up @@ -1023,14 +1023,14 @@ def visit_comprehension(self, node):
)
B021 = Error(
message=(
"B021 f-string used as docstring."
"B021 f-string used as docstring. "
"This will be interpreted by python as a joined string rather than a docstring."
)
)
B022 = Error(
message=(
"B022 No arguments passed to `contextlib.suppress`."
"No exceptions will be suppressed and therefore this"
"B022 No arguments passed to `contextlib.suppress`. "
"No exceptions will be suppressed and therefore this "
"context manager is redundant."
)
)
Expand Down

0 comments on commit 0d54ee6

Please sign in to comment.