question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support VS Code config variables in `python.linting.pylintArgs`

See original GitHub issue

expected:

Variables reference list from https://code.visualstudio.com/docs/editor/variables-reference#_settings-and-command-variables should also work for python.linting.pylintArgs

currently:

${fileDirname}, ${config:python.pythonPath} not work.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:23 (7 by maintainers)

github_iconTop GitHub Comments

4reactions
Cologlercommented, Oct 24, 2018

@brettcannon The problem is when I set python.linting.pylintPath to global pylint, it did not detect all packages in virual env, unless I activate it use python.linting.pylintArgs.

1reaction
brettcannoncommented, Feb 17, 2021

@GilShoshan94 thanks for sharing! Some people also use pipx to separate their tools and to install them globally.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Linting Python in Visual Studio Code
Enable linting​​ To enable linters, open the Command Palette (Ctrl+Shift+P) and select the Python: Select Linter command. The Select Linter command adds "python. ......
Read more >
Linting | Python in Visual Studio Code
1. Unable to import (pylint) · Open the workspace settings (settings. · Identify the fully qualified path to the python executable (this could...
Read more >
How do I enable Pylint in VSCode? - Stack Overflow
Select "Python : Enable/Disable Linting", click on "Enable" ... Above steps will add below lines in "settings.json" under .vscode dir.
Read more >
Setting Up PEP8 and Pylint on VS Code - DEV Community ‍ ‍
PEP8 defines Python coding standards; from variable declaration to ... you access Vs Code in virtaulenv it will always activate linting.
Read more >
Python in Visual Studio Code – Jan 2018 Release
You can learn more about Python support in Visual Studio Code in the ... linting commands that allow you to configure some linter...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found