palantir / python-language-server

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

Workspace folders and linter settings #819

Closed rwols closed 4 years ago

rwols commented 4 years ago

If I have two workspace folders a and b, and there's a/tox.ini and b/tox.ini, then pycodestyle seems to only use the linter settings from whatever file was opened first in one of the workspace folders.

So I have line length set to 80 in a/tox.ini, and line length set to 120 in b/tox.ini, and if I open a file in a, then all files opened in b will get linter warnings about line lengths not respecting 80 columns max.