muffinmad / anakin-language-server

Yet another Jedi Python language server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[pycodestyle] read tox.ini (or any other relevant config file)

rwols opened this issue · comments

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.

Oh, I see. While user-level configuration is works fine, e.g. ~/.config/pycodestyle, project-level configuration is not.

You may need to read the workspace folders from the editors’ initialize request to figure out where project config files may live.