|
| 1 | +{ |
| 2 | + // Editor |
| 3 | + "editor.bracketPairColorization.enabled": true, |
| 4 | + "editor.guides.bracketPairs": "active", |
| 5 | + "editor.formatOnSave": true, |
| 6 | + "files.associations": { |
| 7 | + "./requirements/*.txt": "pip-requirements", |
| 8 | + "metadata.txt": "ini", |
| 9 | + "**/*.ts": "xml", |
| 10 | + "**/*.ui": "xml" |
| 11 | + }, |
| 12 | + // Markdown |
| 13 | + "markdown.updateLinksOnFileMove.enabled": "prompt", |
| 14 | + "markdown.updateLinksOnFileMove.enableForDirectories": true, |
| 15 | + "markdown.validate.enabled": true, |
| 16 | + "markdown.validate.fileLinks.markdownFragmentLinks": "warning", |
| 17 | + "markdown.validate.fragmentLinks.enabled": "warning", |
| 18 | + "[markdown]": { |
| 19 | + "editor.defaultFormatter": "DavidAnson.vscode-markdownlint", |
| 20 | + "files.trimTrailingWhitespace": false, |
| 21 | + }, |
| 22 | + // Python |
| 23 | + "python.analysis.autoFormatStrings": false, // incompatible with PyQt5 translation engine |
| 24 | + "python.analysis.typeCheckingMode": "basic", |
| 25 | + "python.terminal.activateEnvInCurrentTerminal": true, |
| 26 | + "python.terminal.activateEnvironment": true, |
| 27 | + "[python]": { |
| 28 | + "editor.defaultFormatter": "ms-python.black-formatter", |
| 29 | + "editor.formatOnSave": true, |
| 30 | + "editor.codeActionsOnSave": { |
| 31 | + "source.organizeImports": "explicit" |
| 32 | + }, |
| 33 | + "editor.rulers": [ |
| 34 | + 88 |
| 35 | + ], |
| 36 | + "editor.wordWrapColumn": 88, |
| 37 | + }, |
| 38 | + "python.testing.unittestEnabled": false, |
| 39 | + "python.testing.pytestEnabled": true, |
| 40 | + // Extensions |
| 41 | + "autoDocstring.docstringFormat": "sphinx", |
| 42 | + "autoDocstring.guessTypes": true, |
| 43 | + "flake8.args": [ |
| 44 | + "--config=setup.cfg", |
| 45 | + "--verbose" |
| 46 | + ], |
| 47 | + "yaml.schemas": { |
| 48 | + "https://json.schemastore.org/github-workflow.json": ".github/workflows/*.yml" |
| 49 | + } |
| 50 | +} |
0 commit comments