E231 false positive with pycodestyle version 2.11.0
tanagumo opened this issue · comments
tanagumo commented
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
Anthony Sottile commented
this error is correct -- there should be a space between the ,
and the backslash