Skip to content

Commit

Permalink
Add suggested VSCode extensions and update project settings
Browse files Browse the repository at this point in the history
Signed-off-by: Mattt Zmuda <[email protected]>
  • Loading branch information
mattt committed Jul 31, 2023
1 parent b6b59f0 commit 8dbcbb0
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 13 deletions.
8 changes: 8 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"recommendations": [
"charliermarsh.ruff",
"ms-python.black-formatter",
"ms-python.python",
"ms-python.vscode-pylance"
]
}
24 changes: 11 additions & 13 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,25 @@
{
"python.formatting.provider": "black",
"python.languageServer": "Pylance",
"editor.formatOnSave": true,
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true,
"editor.formatOnType": true,
"editor.formatOnPaste": true,
"editor.renderControlCharacters": true,
"editor.suggest.localityBonus": true,
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[python]": {
"editor.defaultFormatter": "ms-python.python",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll": true,
"source.organizeImports": true
}
},
"editor.defaultFormatter": null
},
"python.languageServer": "Pylance",
"python.testing.pytestArgs": ["-vvv", "python"],
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true,
"python.formatting.provider": "black",
"python.linting.mypyEnabled": true,
"python.linting.mypyArgs": ["--show-column-numbers", "--no-pretty"]
"python.linting.mypyArgs": ["--show-column-numbers", "--no-pretty"],
"ruff.args": ["--config=pyproject.toml"]
}

0 comments on commit 8dbcbb0

Please sign in to comment.