Skip to content

Commit 330a04e

Browse files
committed
chore: add some default settings to devcontainer
1 parent 1d6a980 commit 330a04e

File tree

1 file changed

+38
-1
lines changed

1 file changed

+38
-1
lines changed

.devcontainer/devcontainer.json

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,44 @@
3030
"esbenp.prettier-vscode",
3131
"dbaeumer.vscode-eslint",
3232
"tamasfe.even-better-toml"
33-
]
33+
],
34+
"settings": {
35+
"python.testing.pytestArgs": ["tests"],
36+
"python.testing.unittestEnabled": false,
37+
"python.testing.pytestEnabled": true,
38+
"files.exclude": {
39+
"**/__pycache__": true,
40+
"**/.idea": true,
41+
"**/.mypy_cache": true,
42+
"**/.pytest_cache": true,
43+
"**/.hatch": true,
44+
"**/.ruff_cache": true
45+
},
46+
"files.watcherExclude": {
47+
"**/__pycache__": true,
48+
"**/.idea": true,
49+
"**/.mypy_cache": true,
50+
"**/.pytest_cache": true,
51+
"**/.hatch": true,
52+
"**/.ruff_cache": true
53+
},
54+
"python.linting.flake8Enabled": false,
55+
"python.linting.mypyEnabled": true,
56+
"python.terminal.activateEnvInCurrentTerminal": true,
57+
"python.formatting.provider": "black",
58+
"python.analysis.completeFunctionParens": true,
59+
"python.linting.mypyArgs": ["--show-column-numbers"],
60+
"prettier.printWidth": 120,
61+
"prettier.tabWidth": 4,
62+
"eslint.alwaysShowStatus": true,
63+
"eslint.format.enable": true,
64+
"eslint.lintTask.enable": true,
65+
"git.followTagsWhenSync": true,
66+
"git.enableSmartCommit": true,
67+
"python.analysis.diagnosticMode": "workspace",
68+
"ruff.importStrategy": "fromEnvironment",
69+
"python.linting.enabled": true
70+
}
3471
}
3572
}
3673
}

0 commit comments

Comments
 (0)