Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

The right format for adding multiple pylint plugins to vscode pylint args

In the python linting docs for VS Code, it has this example for adding plugins to pylint:

"python.linting.pylintArgs": ["--load-plugins", "pylint_django"]

I was just wondering what the proper syntax was if I want to add more than one plugin. Should it be:

"python.linting.pylintArgs": ["--load-plugins", "pylint_django", "pylint_flask"]

or should it be:

"python.linting.pylintArgs": ["--load-plugins", "pylint_django pylint_flask"]
like image 480
Redark Avatar asked Oct 15 '25 09:10

Redark


1 Answers

You want:

"python.linting.pylintArgs": ["--load-plugins", "pylint_django,pylint_flask"

--load-plugins takes a comma-separated list of extensions to run.

like image 200
Brett Cannon Avatar answered Oct 18 '25 01:10

Brett Cannon