-
Notifications
You must be signed in to change notification settings - Fork 1
/
.devcontainer.json
56 lines (56 loc) · 1.9 KB
/
.devcontainer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
"image": "docker.io/cneuromod/cneuromax:latest",
"customizations": {
"vscode": {
"extensions": [
"ms-python.python",
"ms-python.black-formatter",
"charliermarsh.ruff",
"fnando.linter",
"tamasfe.even-better-toml",
"GitHub.copilot",
"ms-toolsai.jupyter",
"matangover.mypy"
],
"settings": {
"black-formatter.args": [
"--config=pyproject.toml"
],
"esbonio.server.pythonPath": "/usr/bin/python3",
"esbonio.sphinx.quiet": true,
"esbonio.sphinx.buildDir": "${workspaceFolder}/docs/_build/html",
"esbonio.sphinx.confDir": "${workspaceFolder}/docs/",
"esbonio.sphinx.srcDir": "${workspaceFolder}/docs/",
"files.insertFinalNewline": true,
"files.trimTrailingWhitespace": true,
"git.allowNoVerifyCommit": true,
"mypy.configFile": "pyproject.toml",
"notebook.formatOnSave.enabled": true,
"notebook.codeActionsOnSave": {
"notebook.source.organizeImports": true
},
"python.analysis.ignore": [
"/**"
],
"restructuredtext.linter.doc8.executablePath": "/usr/local/bin/doc8",
"restructuredtext.syntaxHighlighting.disabled": true,
"ruff.lint.arg": [
"--config=pyproject.toml"
],
"[python]": {
"editor.defaultFormatter": "ms-python.black-formatter",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": "explicit"
}
}
}
}
},
"postAttachCommand": "pre-commit install",
"containerEnv": {
"PYTHONPATH": "/workspaces/cneuromax",
"CNEUROMAX_PATH": "/workspaces/cneuromax"
}
}