Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix missing space typos in B021, B022 error messages #257

Merged
merged 1 commit into from May 2, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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