Skip to content

Commit 868aa33

Browse files
committedApr 26, 2024
Update vscode settings
Signed-off-by: Toomore Chiang <toomore@coscup.org>
1 parent 1236aad commit 868aa33

File tree

1 file changed

+29
-35
lines changed

1 file changed

+29
-35
lines changed
 

‎.vscode/settings.json

+29-35
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,30 @@
11
{
2-
"python.analysis.typeCheckingMode": "basic",
3-
"python.linting.pylintEnabled": true,
4-
"python.linting.enabled": true,
5-
"python.linting.mypyEnabled": true,
6-
"python.linting.mypyArgs": [
7-
"--strict",
8-
"--load-plugins", "pydantic.mypy"
9-
],
10-
"python.formatting.provider": "none",
11-
"python.testing.unittestEnabled": false,
12-
"python.testing.pytestEnabled": true,
13-
"python.testing.pytestArgs": [
14-
"-vv",
15-
"--cov-report=term-missing",
16-
"--cov"
17-
],
18-
"git.alwaysSignOff": true,
19-
"python.testing.cwd": "${workspaceFolder}",
20-
"python.envFile": "${workspaceFolder}/.env",
21-
"python.defaultInterpreterPath": "${workspaceFolder}/.venv",
22-
"[python]": {
23-
"editor.defaultFormatter": "ms-python.autopep8"
24-
},
25-
"yaml.schemas": {
26-
"https://squidfunk.github.io/mkdocs-material/schema.json": "mkdocs.yml"
27-
},
28-
"yaml.customTags": [
29-
"!ENV scalar",
30-
"!ENV sequence",
31-
"!relative scalar",
32-
"tag:yaml.org,2002:python/name:material.extensions.emoji.to_svg",
33-
"tag:yaml.org,2002:python/name:material.extensions.emoji.twemoji",
34-
"tag:yaml.org,2002:python/name:pymdownx.superfences.fence_code_format"
35-
]
36-
}
2+
"python.analysis.typeCheckingMode": "basic",
3+
"python.testing.unittestEnabled": false,
4+
"python.testing.pytestEnabled": true,
5+
"python.testing.pytestArgs": ["-vv", "--cov-report=term-missing", "--cov"],
6+
"git.alwaysSignOff": true,
7+
"python.testing.cwd": "${workspaceFolder}",
8+
"python.envFile": "${workspaceFolder}/.env",
9+
"python.defaultInterpreterPath": "${workspaceFolder}/.venv",
10+
"[python]": {
11+
"editor.defaultFormatter": "ms-python.autopep8",
12+
"editor.formatOnSave": true,
13+
"editor.codeActionsOnSave": {
14+
"source.organizeImports": "explicit"
15+
}
16+
},
17+
"isort.args": ["--src=${workspaceFolder}", "--line-length=100"],
18+
"isort.check": true,
19+
"yaml.schemas": {
20+
"https://squidfunk.github.io/mkdocs-material/schema.json": "mkdocs.yml"
21+
},
22+
"yaml.customTags": [
23+
"!ENV scalar",
24+
"!ENV sequence",
25+
"!relative scalar",
26+
"tag:yaml.org,2002:python/name:material.extensions.emoji.to_svg",
27+
"tag:yaml.org,2002:python/name:material.extensions.emoji.twemoji",
28+
"tag:yaml.org,2002:python/name:pymdownx.superfences.fence_code_format"
29+
]
30+
}

0 commit comments

Comments
 (0)
Please sign in to comment.