File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22{
33 // See more at https://go.microsoft.com/fwlink/?LinkId=827846
44 "recommendations" : [
5+ " charliermarsh.ruff" ,
56 " ms-python.python" ,
67 " ms-python.vscode-pylance" ,
78 " redhat.vscode-yaml"
Original file line number Diff line number Diff line change 11// -*- mode: jsonc -*-
22{
3- "python.pythonPath" : " .venv/bin/python" ,
4- // Formatters
5- "python.formatting.provider" : " black" ,
6- "editor.formatOnSave" : true ,
7- "editor.codeActionsOnSave" : {
8- "source.organizeImports" : true // isort
3+ // Linting/formatting
4+ "[python]" : {
5+ "editor.defaultFormatter" : " charliermarsh.ruff" ,
6+ "editor.formatOnSave" : true ,
7+ "editor.codeActionsOnSave" : {
8+ "source.fixAll" : true ,
9+ "source.organizeImports" : true
10+ }
911 },
10- // Linters
11- "python.linting.enabled" : true ,
12- "python.linting.pylintEnabled" : false ,
13- "python.linting.flake8Enabled" : true ,
14- "python.linting.flake8Path" : " pflake8" ,
15- "python.linting.mypyEnabled" : true ,
1612 // Testing
17- "python.testing.pytestEnabled" : true
13+ "python.testing.pytestEnabled" : true ,
14+ // Typechecking
15+ "python.analysis.autoImportCompletions" : true ,
16+ "python.analysis.typeCheckingMode" : " basic"
1817}
You can’t perform that action at this time.
0 commit comments