palantir / python-language-server

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

Code formatting configuration not respected #329

Open clearmisp opened 6 years ago

clearmisp commented 6 years ago

I have the following in ~/.config/pycodestyle:

[pycodestyle]
max-line-length = 100

This is picked up by pycodestyle when linting but it is not respected by yapf or autopep8 (I'm not sure which one is used) when formatting code (I use Emacs and lsp-python, formatting buffer is made with a call to lsp-format-buffer).

Do I need to add sections to the configuration file for autopep8 and/or yapf?

expl0ratory commented 5 years ago

experiencing the same on vim