chore: Fix noqa comment (#684)

Omitting the colon makes Flake8 ignore all errors, rather than the specific code.
This commit is contained in:
Jimmy Jia 2019-01-29 16:46:19 -05:00 committed by Jelle Zijlstra
parent 4d3107233f
commit 1ec2470da7

View File

@ -1606,7 +1606,7 @@ def __attrs_post_init__(self) -> None:
ALWAYS_NO_SPACE = CLOSING_BRACKETS | {token.COMMA, STANDALONE_COMMENT}
def whitespace(leaf: Leaf, *, complex_subscript: bool) -> str: # noqa C901
def whitespace(leaf: Leaf, *, complex_subscript: bool) -> str: # noqa: C901
"""Return whitespace prefix if needed for the given `leaf`.
`complex_subscript` signals whether the given leaf is part of a subscription