Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spaces before colon cause pycodestyle to fail #565

Closed
StylishTriangles opened this issue Oct 15, 2018 · 1 comment
Closed

Spaces before colon cause pycodestyle to fail #565

StylishTriangles opened this issue Oct 15, 2018 · 1 comment

Comments

@StylishTriangles
Copy link

Operating system: Ubuntu 18.04
Python version: 3.6.5
Black version: 18.9b0
Does also happen on master: yes

Here is a diff when running black on following example:

-    commits_data = commits[start_revision - 1: end_revision]
+    commits_data = commits[start_revision - 1 : end_revision]

This causes latest version of pycodestyle (2.4.0) to fail with message E203 whitespace before ':'

@zsol
Copy link
Collaborator

zsol commented Oct 15, 2018

E203 is broken, please disable it. PyCQA/pycodestyle#373

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants