Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support disabling python linters via configuration setting #226437

Closed
Spitfire1900 opened this issue Aug 23, 2024 · 3 comments
Closed

Support disabling python linters via configuration setting #226437

Spitfire1900 opened this issue Aug 23, 2024 · 3 comments
Assignees

Comments

@Spitfire1900
Copy link

As a contributor to multiple python projects I need to be aware of which linters a project uses. Contributions to a project to resolve linting errors for a linter the project does not use are generally not accepted unless they can be associated with a known bug.

The current Python linter docs note:

Linters, if installed, are enabled by default. You can disable them by disabling the extension per workspace.

Remembering to enable/disable linter extensions for a specific workspace This is a much less friendly DX experience than the obsolete

"python.linting.pycodestyleEnabled": false,
"python.linting.pylintEnabled": true,
"python.linting.enabled": true,

configuration that existed previously.

Please provide a way to remark which linters should be enabled in a workspace as a configuration setting if multiple linters are installed simultaneously, i.e. as a disabled section in .vscode/extensions.json or as block in .vscode/settings.json like:

 "[python]": {
        "editor.enabledLinters": [
            "charliermarsh.ruff",
            "ms-python.pylint"
        ]
}
@Spitfire1900
Copy link
Author

This is a similar feature request to #40239

@sandy081
Copy link
Member

sandy081 commented Sep 3, 2024

Please file the issue against the python extension.

@sandy081 sandy081 closed this as not planned Won't fix, can't repro, duplicate, stale Sep 3, 2024
@Spitfire1900
Copy link
Author

microsoft/vscode-python#22607 is the associated vscode-python issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants