Skip to content

Commit 6d39e6b

Browse files
authored
Merge pull request #405 from nextflow-io/feat/hello-containers
Hello-containers training module
2 parents 71694e7 + 5103f50 commit 6d39e6b

File tree

13 files changed

+723
-36
lines changed

13 files changed

+723
-36
lines changed

.devcontainer/devcontainer.json

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,23 @@
33
"image": "nfcore/gitpod:latest",
44
"remoteUser": "gitpod",
55

6+
"postCreateCommand": "pre-commit install --install-hooks",
7+
68
// Configure tool-specific properties.
79
"customizations": {
810
// Configure properties specific to VS Code.
911
"vscode": {
1012
// Set *default* container specific settings.json values on container create.
1113
"settings": {
12-
"python.defaultInterpreterPath": "/opt/conda/bin/python",
13-
"python.linting.enabled": true,
14-
"python.linting.pylintEnabled": true,
15-
"python.formatting.autopep8Path": "/opt/conda/bin/autopep8",
16-
"python.formatting.yapfPath": "/opt/conda/bin/yapf",
17-
"python.linting.flake8Path": "/opt/conda/bin/flake8",
18-
"python.linting.pycodestylePath": "/opt/conda/bin/pycodestyle",
19-
"python.linting.pydocstylePath": "/opt/conda/bin/pydocstyle",
20-
"python.linting.pylintPath": "/opt/conda/bin/pylint"
14+
"python.defaultInterpreterPath": "/opt/conda/bin/python"
2115
},
2216

2317
// Add the IDs of extensions you want installed when the container is created.
24-
"extensions": ["ms-python.python", "ms-python.vscode-pylance", "nf-core.nf-core-extensionpack"]
18+
"extensions": [
19+
"ms-python.python",
20+
"ms-python.vscode-pylance",
21+
"nf-core.nf-core-extensionpack"
22+
]
2523
}
2624
},
2725
"portsAttributes": {

0 commit comments

Comments
 (0)