pylsp.plugins.flake8.exclude has a default value of [] which overrides the flake8 default .svn,CVS,.bzr,.hg,.git,__pycache__,.tox,.nox,.eggs,*.egg.
pylsp.plugins.pycodestyle.exclude has a default value of [] which overrides the pycodestyle default .svn,CVS,.bzr,.hg,.git.
pylsp.plugins.pycodestyle.filename has a default value of [] which overrides the pycodestyle default *.py.
pylsp.plugins.pycodestyle.ignore has a default value of [] which overrides the pycodestyle default which I believe is E121,E123,E126,E133,E226,E241,E242,E704,W503,W504,W505
If in fact we don't wish to override the underlying plugin default then I believe pylsp should set its default values to null.
For example:
pylsp.plugins.flake8.exclude
has a default value of[]
which overrides theflake8
default.svn,CVS,.bzr,.hg,.git,__pycache__,.tox,.nox,.eggs,*.egg
.pylsp.plugins.pycodestyle.exclude
has a default value of[]
which overrides thepycodestyle
default.svn,CVS,.bzr,.hg,.git
.pylsp.plugins.pycodestyle.filename
has a default value of[]
which overrides thepycodestyle
default*.py
.pylsp.plugins.pycodestyle.ignore
has a default value of[]
which overrides thepycodestyle
default which I believe isE121,E123,E126,E133,E226,E241,E242,E704,W503,W504,W505
If in fact we don't wish to override the underlying plugin default then I believe
pylsp
should set its default values tonull
.