Closed kraxli closed 3 years ago
Hi
In contrast do the README / documentation, my setup.cfg is not picked up from ~/.config/pycodestyle
setup.cfg
~/.config/pycodestyle
[pycodestyle] count = False ignore = E226,E302,E41 max-line-length = 120 statistics = True
Having the same setup.cfg in my project directory works
My environment:
My .vimrc:
let g:lsp_settings = { \ 'filetype': {'python': 'pyls-all'}, \ 'pyls': { \ 'workspace_config': { \ 'pyls': { \ 'configurationSources': ['pycodestyle'], \ 'plugins': { \ 'pydocstyle': {'enabled': v:true}, \ 'pycodestyle': { \ 'enabled': v:true, \ }, \ 'black': {'enable': v:true}, \ 'autopep8': {'enable': v:true}, \ }, \ }, \ }, \ }, \ }
Adding my vim-lsp.log pyls.log is emtpy (I have set it with pyls --log-file ~/pyls.log)
pyls --log-file ~/pyls.log
Hi
In contrast do the README / documentation, my
setup.cfg
is not picked up from~/.config/pycodestyle
Having the same
setup.cfg
in my project directory worksMy environment:
My .vimrc: