Skip to content

Commit

Permalink
VS Code settings: Remove some deprecated linters and formatters
Browse files Browse the repository at this point in the history
Using these tools via the Pylance extension is deprecated. The equivalent
functionality is now available through dedicated VS Code extensions.
See:
  https://aka.ms/AAlgvkb.
  https://marketplace.visualstudio.com/items?itemName=ms-python.black-formatter

Note: Keeping the Pylance's mypy linting for now as it seems to behave better.
  • Loading branch information
andrestt committed Aug 16, 2023
1 parent 42eaeb6 commit c271f8e
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,15 @@
"python.analysis.extraPaths": [
"./stubs"
],
"python.formatting.provider": "black",
"python.linting.enabled": true,
"python.linting.flake8Enabled": false,
"python.linting.mypyEnabled": true,
"python.linting.pydocstyleEnabled": false,
"python.linting.pylintEnabled": false,
"python.testing.pytestArgs": [
"-vv",
"-nauto",
"tests"
],
"python.testing.pytestEnabled": true
"python.testing.pytestEnabled": true,
"[python]": {
"editor.defaultFormatter": "ms-python.black-formatter"
},
}

0 comments on commit c271f8e

Please sign in to comment.