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

[pep8] E203:whitespace before ':' #280

Closed
vict0rsch opened this issue May 30, 2018 · 2 comments
Closed

[pep8] E203:whitespace before ':' #280

vict0rsch opened this issue May 30, 2018 · 2 comments

Comments

@vict0rsch
Copy link

vict0rsch commented May 30, 2018

Operating system: macOS 10.13.2
Python version: 3.6.4
Black version:
Does also happen on master: yes (I did went through the steps)

indexes = list(range(10))
values = list(range(10))
print(values[indexes[2]:]) 

This is formatted into print(values[indexes[2] :]) -> pep8 E203

@zsol
Copy link
Collaborator

zsol commented May 30, 2018 via email

@ambv
Copy link
Collaborator

ambv commented May 30, 2018

Also, see the very issue before yours for a more detailed explanation. This is deliberate behavior.

@ambv ambv closed this as completed May 30, 2018
mrks pushed a commit to hyrise/hyrise that referenced this issue Aug 31, 2020
E203 is broken and it is recommended to ignored it (see psf/black#280).
Currently, black correctly adds spaces around colons in some cases and flake8 marks them as errors due to the broken E203.

This PR extends the ignore list by adding E203 (note, the default settings of flake8 already ignore several warnings).
a-rmz added a commit to City-of-Helsinki/berth-reservations that referenced this issue Apr 26, 2021
E203 is broken and it is recommended to ignored it (see psf/black#280).
Currently, black correctly adds spaces around colons in some cases and
flake8 marks them as errors due to the broken E203.
a-rmz added a commit to City-of-Helsinki/berth-reservations that referenced this issue Apr 28, 2021
E203 is broken and it is recommended to ignored it (see psf/black#280).
Currently, black correctly adds spaces around colons in some cases and
flake8 marks them as errors due to the broken E203.
a-rmz added a commit to City-of-Helsinki/berth-reservations that referenced this issue Apr 29, 2021
E203 is broken and it is recommended to ignored it (see psf/black#280).
Currently, black correctly adds spaces around colons in some cases and
flake8 marks them as errors due to the broken E203.
a-rmz added a commit to City-of-Helsinki/berth-reservations that referenced this issue May 5, 2021
E203 is broken and it is recommended to ignored it (see psf/black#280).
Currently, black correctly adds spaces around colons in some cases and
flake8 marks them as errors due to the broken E203.
a-rmz added a commit to City-of-Helsinki/berth-reservations that referenced this issue May 6, 2021
E203 is broken and it is recommended to ignored it (see psf/black#280).
Currently, black correctly adds spaces around colons in some cases and
flake8 marks them as errors due to the broken E203.
CharString added a commit to maykinmedia/django-simple-certmanager that referenced this issue Oct 12, 2022
Black and Flake8 are in disagreement and [PEP8 agrees with
Black](psf/black#280)
CharString added a commit to maykinmedia/django-simple-certmanager that referenced this issue Oct 14, 2022
Black and Flake8 are in disagreement and [PEP8 agrees with
Black](psf/black#280)
Mausy5043 added a commit to Mausy5043/python-nut3 that referenced this issue Jan 2, 2023
raphCode added a commit to raphCode/master-thesis-muzero that referenced this issue Apr 10, 2024
E203 is silenced because it is incompatible with black / PEP8:
psf/black#280
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

3 participants