X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/9e9ee449b41f4058640e2360b3b62a0ca12f4a65..c1a962b88519b42e487ecf3c531bfc689ca1dedf:/black.py?ds=inline diff --git a/black.py b/black.py index d048162..e72db2b 100644 --- a/black.py +++ b/black.py @@ -1835,7 +1835,7 @@ def whitespace(leaf: Leaf, *, complex_subscript: bool) -> str: # noqa C901 elif prevp.type == token.EQUAL and prevp_parent.type == syms.argument: return NO - elif t == token.NAME or t == token.NUMBER: + elif t in {token.NAME, token.NUMBER, token.STRING}: return NO elif p.type == syms.import_from: