Skip to content

Commit

Permalink
update vscode settings
Browse files Browse the repository at this point in the history
  • Loading branch information
branchvincent committed Jan 2, 2024
1 parent 58dbe00 commit 84b7a06
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
1 change: 1 addition & 0 deletions src/.vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
{
// See more at https://go.microsoft.com/fwlink/?LinkId=827846
"recommendations": [
"charliermarsh.ruff",
"ms-python.python",
"ms-python.vscode-pylance",
"redhat.vscode-yaml"
Expand Down
25 changes: 12 additions & 13 deletions src/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
// -*- mode: jsonc -*-
{
"python.pythonPath": ".venv/bin/python",
// Formatters
"python.formatting.provider": "black",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": true // isort
// Linting/formatting
"[python]": {
"editor.defaultFormatter": "charliermarsh.ruff",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll": true,
"source.organizeImports": true
}
},
// Linters
"python.linting.enabled": true,
"python.linting.pylintEnabled": false,
"python.linting.flake8Enabled": true,
"python.linting.flake8Path": "pflake8",
"python.linting.mypyEnabled": true,
// Testing
"python.testing.pytestEnabled": true
"python.testing.pytestEnabled": true,
// Typechecking
"python.analysis.autoImportCompletions": true,
"python.analysis.typeCheckingMode": "basic"
}

0 comments on commit 84b7a06

Please sign in to comment.