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

unable to disable flake8 #311

Closed
LeanderK opened this issue Apr 15, 2024 · 4 comments
Closed

unable to disable flake8 #311

LeanderK opened this issue Apr 15, 2024 · 4 comments
Assignees

Comments

@LeanderK
Copy link

I want to disable flake8 for a project. I added "flake8.enabled" : false, to my setting.json. But vscode complains about this setting being unknown and also my project is still linted by flake8!

@eleanorjboyd
Copy link
Member

Hi! Can you check both your user and workspace settings and send anything over related to either of those? It could be a conflict between settings across different levels.

@LeanderK
Copy link
Author

LeanderK commented Apr 15, 2024

thank you for the quick response!

workspace setting:

{
    "python.analysis.extraPaths": [
        "./pyxadd"
    ],
    "python.analysis.typeCheckingMode": "basic",
    "python.analysis.autoImportCompletions": true,
    "files.exclude": {
        "demo/data/*": true
    },
    "flake8.enabled" : false,
}

flake8.enabled has warning: Unknown Configuration Setting. Autocomplete gives me completions for the others (args, cwd etc., but not enabled!)

I don't have any other flake8 settings set

@karthiknadig
Copy link
Member

@LeanderK Are you using stable or pre-release version? the enable setting is in pre-release.

@LeanderK
Copy link
Author

ah, I just installed it from the marketplace. It's not the pre-relase.

This fixed it, thanks!

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

No branches or pull requests

3 participants