``` printf 'foo = "bar" \t# comment\n' | pep8 - ``` I expected the following output but got nothing: ``` stdin:1:12: E261 at least two spaces before inline comment ```
Activity
spaceone commentedon Oct 26, 2016
This causes hhatto/autopep8#256
IanLee1521 commentedon Oct 29, 2016
Hmm, seems like it's currently reporting for "two whitespace characters" rather than "two spaces".
@spaceone -- FYI, you should be testing against the latest version of
pycodestyle
rather thanpep8
, see #466 for why the name changed.spaceone commentedon Oct 31, 2016
Yes, i do use the lastest pycodestyle: I just aliased pep8=pycodestyle to type this faster in my shell.
[-]E261 ignores tab/space mix[/-][+]E261: ignores tab/space mix[/+]spaceone commentedon Sep 16, 2021
Still broken with pycodestyle 2.7.0
Issue PyCQA#582: disallow tabs before inline comments
Issue PyCQA#582: disallow tabs before inline comments
Issue PyCQA#582: disallow tabs before inline comments
Issue PyCQA#582: disallow tabs before inline comments