diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 75fa7aa..4408de6 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -5,7 +5,8 @@ "recommendations": [ "ms-python.python", "ms-python.vscode-pylance", - "redhat.vscode-yaml" + "redhat.vscode-yaml", + "ms-python.flake8" // flake8 extension version <= v2023.4.0 ], // List of extensions recommended by VS Code that should not be recommended for users of this workspace. "unwantedRecommendations": [] diff --git a/.vscode/settings.json b/.vscode/settings.json index 8741d16..6126d28 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,12 +1,9 @@ { "editor.accessibilitySupport": "on", - "python.linting.enabled": true, - "python.linting.maxNumberOfProblems": 10000, - "python.linting.flake8Args": [ + "flake8.args": [ "--config=flake8.ini" ], - "python.linting.flake8Enabled": true, - "python.linting.pylintEnabled": false, + "flake8.importStrategy": "fromEnvironment", "python.autoComplete.extraPaths": [ "../nvda/source", "../nvda/miscDeps/python"