Commit 66b82ced authored by ceh's avatar ceh Committed by Łukasz Langa
Browse files

Fix minor typos (#443)

parent 0c77c587
Loading
Loading
Loading
Loading
+3 −3
Changes for black.py: 3 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -170,7 +170,7 @@ def read_pyproject_toml(
    "--line-length",
    type=int,
    default=DEFAULT_LINE_LENGTH,
    help="How many character per line to allow.",
    help="How many characters per line to allow.",
    show_default=True,
)
@click.option(
@@ -1164,7 +1164,7 @@ def maybe_remove_trailing_comma(self, closing: Leaf) -> bool:
            self.remove_trailing_comma()
            return True

        # Otheriwsse, if the trailing one is the only one, we might mistakenly
        # Otherwise, if the trailing one is the only one, we might mistakenly
        # change a tuple into a different type by removing the comma.
        depth = closing.bracket_depth + 1
        commas = 0
@@ -1377,7 +1377,7 @@ def _maybe_empty_lines_for_class_or_def(
                newlines = 1
            elif current_line.is_class or self.previous_line.is_class:
                if current_line.is_stub_class and self.previous_line.is_stub_class:
                    # No blank line between classes with an emty body
                    # No blank line between classes with an empty body
                    newlines = 0
                else:
                    newlines = 1