|
7 | 7 | "git.rebaseWhenSync": true, |
8 | 8 | "git.suggestSmartCommit": false, |
9 | 9 | "git.supportCancellation": true, |
| 10 | + "git.useEditorAsCommitInput": false, |
10 | 11 | "diffEditor.ignoreTrimWhitespace": false, |
11 | | - "python.linting.pylintEnabled": true, |
12 | | - "python.linting.mypyArgs": ["--show-column-numbers"], |
13 | | - "python.formatting.provider": "black", |
| 12 | + "python.linting.mypyArgs": [ |
| 13 | + "--show-column-numbers", |
| 14 | + "--no-pretty", |
| 15 | + "--hide-error-context" |
| 16 | + ], |
| 17 | + "black-formatter.importStrategy": "fromEnvironment", |
14 | 18 | "python.linting.mypyEnabled": true, |
15 | | - "python.linting.flake8Enabled": true, |
16 | 19 | "python.linting.enabled": true, |
17 | 20 | "files.autoSave": "onFocusChange", |
18 | | - "python.linting.pylintCategorySeverity.convention": "Error", |
19 | 21 | "search.useIgnoreFiles": true, |
20 | 22 | "git.useCommitInputAsStashMessage": true, |
21 | 23 | "editor.codeActionsOnSave": { |
|
25 | 27 | "python.linting.flake8CategorySeverity.W": "Error", |
26 | 28 | "files.eol": "\n", |
27 | 29 | "python.testing.pytestEnabled": true, |
28 | | - "python.linting.pylintCategorySeverity.refactor": "Error", |
29 | | - "python.linting.pylintCategorySeverity.warning": "Error", |
30 | 30 | "python.analysis.typeCheckingMode": "off", |
31 | | - "python.analysis.typeshedPaths": [ |
32 | | - //TODO: make this not hardcoded https://github.com/microsoft/vscode-python/issues/18233 |
33 | | - ".venv/lib/site-packages/mypy/typeshed" |
34 | | - ] |
| 31 | + "python.linting.flake8Enabled": true, |
| 32 | + "pylint.severity": { |
| 33 | + "convention": "Warning", |
| 34 | + "error": "Error", |
| 35 | + "fatal": "Error", |
| 36 | + "refactor": "Warning", |
| 37 | + "warning": "Warning", |
| 38 | + "info": "Warning" |
| 39 | + }, |
| 40 | + "pylint.importStrategy": "fromEnvironment", |
| 41 | + "yaml.schemas": { |
| 42 | + "https://raw.githubusercontent.com/SchemaStore/schemastore/master/src/schemas/json/github-workflow.json": ".github/workflows/*.yaml" |
| 43 | + }, |
| 44 | + "[python]": { |
| 45 | + "editor.defaultFormatter": "ms-python.black-formatter" |
| 46 | + } |
35 | 47 | } |
0 commit comments