You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Black suggests putting a space before the slice operator when the LHS has an operator but the RHS is omitted, which looks like it doesn't comply with PEP-8 (emphasis mine):
However, in a slice the colon acts like a binary operator, and should have equal amounts on either side (treating it as the operator with the lowest priority). In an extended slice, both colons must have the same amount of spacing applied. Exception: when a slice parameter is omitted, the space is omitted.
Black suggests putting a space before the slice operator when the LHS has an operator but the RHS is omitted, which looks like it doesn't comply with PEP-8 (emphasis mine):
Looks like it was introduced by PR #178.
Python version: 3.6
Black version: black, version 18.4a5
Does also happen on master: yes
The text was updated successfully, but these errors were encountered: