Unverified Commit a73d2588 authored by Jelle Zijlstra's avatar Jelle Zijlstra Committed by GitHub
Browse files

fix CI (#1078)

parent 4b5852e4
Loading
Loading
Loading
Loading
+1 −3
Changes for black.py: 1 added line, 3 removed lines.
Original line number Diff line number Diff line
@@ -2777,9 +2777,7 @@ def is_type_comment(leaf: Leaf, suffix: str = "") -> bool:
    Only returns true for type comments for now."""
    t = leaf.type
    v = leaf.value
    return t in {token.COMMENT, STANDALONE_COMMENT} and v.startswith(
        "# type:" + suffix
    )
    return t in {token.COMMENT, STANDALONE_COMMENT} and v.startswith("# type:" + suffix)


def normalize_prefix(leaf: Leaf, *, inside_brackets: bool) -> None:
+1 −1
Changes for tests/data/comments2.py: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -310,7 +310,7 @@ def inline_comments_in_brackets_ruin_everything():
    )


CONFIG_FILES = [CONFIG_FILE] + SHARED_CONFIG_FILES + USER_CONFIG_FILES  # type: Final
CONFIG_FILES = [CONFIG_FILE,] + SHARED_CONFIG_FILES + USER_CONFIG_FILES  # type: Final

#######################
### SECTION COMMENT ###