Loading black.py +1 −1 Changes for black.py: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -2777,7 +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, t == STANDALONE_COMMENT} and v.startswith( return t in {token.COMMENT, STANDALONE_COMMENT} and v.startswith( "# type:" + suffix ) Loading Loading
black.py +1 −1 Changes for black.py: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -2777,7 +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, t == STANDALONE_COMMENT} and v.startswith( return t in {token.COMMENT, STANDALONE_COMMENT} and v.startswith( "# type:" + suffix ) Loading