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

E231 false positive with pycodestyle version 2.11.0 #1203

Closed
tanagumo opened this issue Oct 8, 2023 · 1 comment
Closed

E231 false positive with pycodestyle version 2.11.0 #1203

tanagumo opened this issue Oct 8, 2023 · 1 comment

Comments

@tanagumo
Copy link

tanagumo commented Oct 8, 2023

An E231 error occurs since pycodestyle version 2.11.0.

Environment

$ python -V
Python 3.11.0

$ pycodestyle --version
2.10.0

$ cat test.py
with a,\
        b:
    pass

$ pycodestyle test.py
$ echo $?
0
$ pycodestyle --version
2.11.0

$ pycodestyle test.py
test.py:1:12: E231 missing whitespace after ','

$ echo $?
1
@asottile
Copy link
Member

asottile commented Oct 8, 2023

this error is correct -- there should be a space between the , and the backslash

@asottile asottile closed this as completed Oct 8, 2023
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