X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/4d3107233f18452d89e3caf148a098849a16b364..9d749280bb1051991d391e0ee70174a613da16fc:/black.py?ds=inline diff --git a/black.py b/black.py index 3269322..c4b9132 100644 --- a/black.py +++ b/black.py @@ -1606,7 +1606,7 @@ BRACKETS = OPENING_BRACKETS | CLOSING_BRACKETS 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