palantir / python-language-server

An implementation of the Language Server Protocol for Python
MIT License
2.6k stars 282 forks source link

Pycodestyle settings not used (windows only!) #886

Open zerocewl opened 3 years ago

zerocewl commented 3 years ago

The settings from the pycodestyle.cfg are not used any longer on windows 10.

After the monaco editor comes up the pycodestyle rules are applied ignoring the settings e.g.:

[pycodestyle]
enabled = false
ignore = E226, E722, W504, E501
max-line-length = 121
exclude = test/plugins/.ropeproject,test/.ropeproject

Bisecting shows that this issue comes with changes in pyls v0.36. V0.36.1 shows the same issue.

Using v0.35.1 fixed the issue as workaround.

workaround: Installing pyls < 0.36 e.g.

pip install "python-language-server<0.36"

Note: Linux and mac seem to work fine.

This might be an path issue?!?