pycodestyle
pycodestyle copied to clipboard
Issue #582: disallow tabs before inline comments
Detect invalid tabs before inline comments:
printf 'foo = "bar" \t# comment\n' | pycodestyle -
stdin:1:12: E261 at least two spaces before inline comment
printf 'foo = "bar"\t # comment\n' | pycodestyle -
stdin:1:12: E261 at least two spaces before inline comment
printf 'foo = "bar"\t\t# comment\n' | pycodestyle -
stdin:1:12: E261 at least two spaces before inline comment
Fixes #582