python-lsp / python-lsp-server

Fork of the python-language-server project, maintained by the Spyder IDE team and the community
MIT License
1.75k stars 187 forks source link

Add extend-select to flake8 #559

Open Susensio opened 1 month ago

Susensio commented 1 month ago

--extend-select allows adding error codes without overriding the default --select

ccordoba12 commented 1 month ago

Hey @Susensio, thanks for your contribution! It looks good to me, but there is one thing missing.

You need to run in the root of your clone the following command:

python scripts/jsonschema2md.py pylsp/config/schema.json CONFIGURATION.md

and then commit the changes that does to CONFIGURATION.md.

That's necessary because you added a new option to the server.

Susensio commented 1 month ago

My bad, I didn't read the docs till the end. I've pushed a new commit with that fixed.