Closed correctmost closed 2 months ago
Continuation of #1256 because I force pushed and cannot reopen that PR. (Sorry for the noise.)
If this PR seems too risky because of assumptions about tokenization, feel free to pass!
ncalls tottime percall cumtime percall filename:lineno(function) 1478156 0.885 0.000 1.197 0.000 pycodestyle.py:1831(_is_eol_token) 1472360 0.364 0.000 0.364 0.000 {method 'lstrip' of 'str' objects}
pycodestyle .
ncalls tottime percall cumtime percall filename:lineno(function) 1478156 0.511 0.000 0.511 0.000 pycodestyle.py:1831(_is_eol_token) 225341 0.055 0.000 0.055 0.000 {method 'lstrip' of 'str' objects}
Versions tested locally (on Arch Linux with pyenv):
Continuation of #1256 because I force pushed and cannot reopen that PR. (Sorry for the noise.)
If this PR seems too risky because of assumptions about tokenization, feel free to pass!
Stats
Before
pycodestyle .
After
pycodestyle .