[pycodestyle] read tox.ini (or any other relevant config file)
rwols opened this issue · comments
Raoul Wols commented
I have a tox.ini in my project with the following section:
[pycodestyle]
max-line-length = 120
However, anakin-language-server seems to ignore this setting. See #1 for an example screenshot where pycodestyle says the line length is too long.
Andrii Kolomoiets commented
Oh, I see. While user-level configuration is works fine, e.g. ~/.config/pycodestyle
, project-level configuration is not.
Raoul Wols commented
You may need to read the workspace folders from the editors’ initialize request to figure out where project config files may live.
Andrii Kolomoiets commented
Fixed in 44f76a2