|
1 | 1 | {
|
2 | 2 | "[python]": {
|
3 | 3 | "editor.codeActionsOnSave": {
|
4 |
| - "source.organizeImports": true |
5 |
| - } |
| 4 | + "source.fixAll": "explicit", |
| 5 | + "source.organizeImports": "explicit" |
| 6 | + }, |
| 7 | + "editor.defaultFormatter": "charliermarsh.ruff" |
6 | 8 | },
|
7 |
| - "autoDocstring.startOnNewLine": true, |
8 | 9 | "beautify.language": {
|
9 | 10 | "html": ["htm", "html", "django-html"]
|
10 | 11 | },
|
11 | 12 | "editor.formatOnPaste": false,
|
| 13 | + "editor.formatOnSave": true, |
12 | 14 | "emmet.includeLanguages": {
|
| 15 | + "django-html": "html", |
13 | 16 | "jinja-html": "html"
|
14 | 17 | },
|
15 | 18 | "emmet.triggerExpansionOnTab": true,
|
16 | 19 | "files.associations": {
|
17 | 20 | "**/*.html": "html",
|
| 21 | + "**/*.tpl": "jinja", |
18 | 22 | "**/requirements{/**,*}.{txt,in}": "pip-requirements",
|
19 | 23 | "**/templates/**/*": "django-txt",
|
20 | 24 | "**/templates/**/*.html": "jinja-html"
|
21 | 25 | },
|
22 | 26 | "files.eol": "\n",
|
23 | 27 | "files.exclude": {
|
| 28 | + "**/.cache": true, |
| 29 | + "**/.mypy_cache": true, |
| 30 | + "**/.pytest_cache": true, |
| 31 | + "**/.ruff_cache": true, |
24 | 32 | "**/__pycache__": true
|
25 | 33 | },
|
26 | 34 | "git.alwaysSignOff": true,
|
27 | 35 | "git.enableCommitSigning": true,
|
28 | 36 | "html.format.indentHandlebars": true,
|
29 | 37 | "html.format.templating": true,
|
| 38 | + "markdownlint.ignore": ["CHANGELOG.md"], |
| 39 | + "material-icon-theme.languages.associations": { |
| 40 | + "jinja-html": "django" |
| 41 | + }, |
| 42 | + "mypy-type-checker.args": ["--strict"], |
| 43 | + "mypy-type-checker.importStrategy": "useBundled", |
| 44 | + "mypy-type-checker.reportingScope": "workspace", |
| 45 | + "python.analysis.autoImportCompletions": true, |
| 46 | + "python.analysis.autoImportUserSymbols": true, |
30 | 47 | "python.analysis.extraPaths": [],
|
| 48 | + "python.analysis.indexing": true, |
31 | 49 | "python.analysis.stubPath": "/home/seapagan/stubs",
|
32 |
| - "python.analysis.typeCheckingMode": "basic", |
33 |
| - "python.formatting.blackArgs": ["--line-length=80"], |
34 |
| - "python.formatting.provider": "black", |
| 50 | + "python.analysis.typeCheckingMode": "off", |
35 | 51 | "python.languageServer": "Pylance",
|
36 |
| - "python.linting.enabled": true, |
37 |
| - "python.linting.flake8Args": ["--max-line-length=80"], |
38 |
| - "python.linting.flake8Enabled": true, |
39 |
| - "python.linting.mypyEnabled": false, |
40 |
| - "python.linting.pydocstyleArgs": ["--convention=google"], |
41 |
| - "python.linting.pylintArgs": [], |
42 |
| - "python.linting.pylintEnabled": false, |
43 | 52 | "python.pythonPath": "./.venv/bin/python",
|
44 |
| - "isort.args": ["--profile", "black", "--src=${workspaceFolder}"], |
45 | 53 | "python.testing.pytestArgs": ["tests"],
|
46 | 54 | "python.testing.pytestEnabled": true,
|
47 |
| - "python.testing.unittestArgs": ["-v", "-s", "./tests", "-p", "*_test.py"], |
48 |
| - "python.testing.unittestEnabled": false |
| 55 | + "python.testing.unittestEnabled": false, |
| 56 | + "ruff.fixAll": false, |
| 57 | + "ruff.organizeImports": true |
49 | 58 | }
|
0 commit comments