Skip to content

Commit

Permalink
Update VS Code config
Browse files Browse the repository at this point in the history
  • Loading branch information
Guts committed Nov 8, 2023
1 parent d4e7874 commit 1166eb6
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 22 deletions.
3 changes: 3 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{
"recommendations": [
"ms-python.python",
"ms-python.black-formatter",
"ms-python.flake8",
"ms-python.isort",
"njpwerner.autodocstring",
"redhat.vscode-yaml"
]
Expand Down
39 changes: 17 additions & 22 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,47 +1,42 @@
{
// Editor
"editor.rulers": [
88
],
"editor.wordWrapColumn": 88,
"editor.bracketPairColorization.enabled": true,
"editor.guides.bracketPairs": "active",
"files.associations": {
"./requirements/*.txt": "pip-requirements"
},
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": true
},
// Python environment
"python.defaultInterpreterPath": ".venv/bin/python",
// Python
"python.analysis.autoFormatStrings": true,
"python.analysis.typeCheckingMode": "basic",
"python.terminal.activateEnvInCurrentTerminal": true,
"python.terminal.activateEnvironment": true,
// Formatter
"[python]": {
"editor.defaultFormatter": "ms-python.black-formatter"
"editor.defaultFormatter": "ms-python.black-formatter",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": true
},
"editor.rulers": [
88
],
"editor.wordWrapColumn": 88,
},
// Linter
"python.linting.enabled": true,
"python.linting.flake8Enabled": true,
"python.linting.flake8Args": [
"--config=setup.cfg",
"--verbose"
],
"python.linting.pylintEnabled": false,
// Tests
"python.testing.pytestArgs": [],
"python.testing.unittestEnabled": true,
"python.testing.pytestEnabled": true,
// extensions
"autoDocstring.guessTypes": true,
"autoDocstring.docstringFormat": "google",
"autoDocstring.generateDocstringOnEnter": false,
"flake8.args": [
"--config=setup.cfg",
"--verbose"
],
"yaml.schemas": {
"docs/schemas/scenario/schema.json": [
"scenario*qdt.yml",
"tests/fixtures/scenarios/*.qdt.yml",
],
"https://json.schemastore.org/github-workflow.json": ".github/workflows/*.yml"
}
},
}

0 comments on commit 1166eb6

Please sign in to comment.