Skip to content

Commit

Permalink
Wrap comment that's too long
Browse files Browse the repository at this point in the history
  • Loading branch information
ichard26 committed Jul 14, 2022
1 parent 39317cd commit f161fe6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/black/linegen.py
Expand Up @@ -295,8 +295,8 @@ def visit_STRING(self, leaf: Leaf) -> Iterator[Line]:
# indentation of those changes the AST representation of the code.
if Preview.normalize_docstring_quotes_and_prefixes_properly in self.mode:
# There was a bug where --skip-string-normalization wouldn't stop us
# from normalizing docstring prefixes. To maintain stability, we can only
# address this buggy behaviour while the preview style is enabled.
# from normalizing docstring prefixes. To maintain stability, we can
# only address this buggy behaviour while the preview style is enabled.
if self.mode.string_normalization:
docstring = normalize_string_prefix(leaf.value)
# visit_default() does handle string normalization for us, but
Expand Down

0 comments on commit f161fe6

Please sign in to comment.