Skip to content

Commit f10d987

Browse files
committed
Add vscode settings
1 parent b52f8b9 commit f10d987

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.vscode/settings.json

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"[python]": {
3+
"editor.insertSpaces": true,
4+
"editor.tabSize": 4,
5+
"editor.rulers": [
6+
119
7+
],
8+
"editor.codeActionsOnSave": {
9+
"source.organizeImports": true,
10+
"source.fixAll": true
11+
}
12+
},
13+
"python.defaultInterpreterPath": "${workspaceFolder}/.venv/bin/python3",
14+
"python.envFile": "${workspaceFolder}/.venv",
15+
"python.languageServer": "Pylance",
16+
"python.formatting.provider": "yapf",
17+
"python.formatting.yapfPath": "${workspaceFolder}/.venv/bin/yapf",
18+
"python.linting.enabled": true,
19+
"python.linting.pylintEnabled": true,
20+
"python.linting.pylintPath": "${workspaceFolder}/.venv/bin/pylint",
21+
"python.linting.mypyEnabled": true,
22+
"python.linting.mypyArgs": [
23+
"--config-file ${workspaceFolder}/pyproject.toml"
24+
],
25+
"python.testing.pytestEnabled": true,
26+
"python.testing.pytestArgs": [
27+
"."
28+
],
29+
"[toml]": {
30+
"editor.defaultFormatter": "tamasfe.even-better-toml"
31+
},
32+
"python.linting.mypyPath": "${workspaceFolder}/.venv/bin/mypy"
33+
}

0 commit comments

Comments
 (0)