Skip to content

Commit 6ee8606

Browse files
committed
Linting errors
1 parent 0195b14 commit 6ee8606

File tree

1 file changed

+35
-38
lines changed

1 file changed

+35
-38
lines changed

.devcontainer/devcontainer.json

Lines changed: 35 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,44 @@
11
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
22
// https://github.com/microsoft/vscode-dev-containers/tree/v0.194.0/containers/python-3
33
{
4-
"name": "Python 3",
5-
"build": {
6-
"dockerfile": "Dockerfile",
7-
"context": "..",
8-
"args": {
9-
// Update 'VARIANT' to pick a Python version: 3, 3.6, 3.7, 3.8, 3.9
10-
"VARIANT": "3.9",
11-
// Options
12-
"NODE_VERSION": "lts/*"
13-
}
14-
},
4+
"name": "Python 3",
5+
"build": {
6+
"dockerfile": "Dockerfile",
7+
"context": "..",
8+
"args": {
9+
// Update 'VARIANT' to pick a Python version: 3, 3.6, 3.7, 3.8, 3.9
10+
"VARIANT": "3.9",
11+
// Options
12+
"NODE_VERSION": "lts/*"
13+
}
14+
},
1515

16-
// Set *default* container specific settings.json values on container create.
17-
"settings": {
18-
"python.pythonPath": "/usr/local/bin/python",
19-
"python.languageServer": "Pylance",
20-
"python.linting.enabled": true,
21-
"python.linting.pylintEnabled": true,
22-
"python.formatting.autopep8Path": "/usr/local/py-utils/bin/autopep8",
23-
"python.formatting.blackPath": "/usr/local/py-utils/bin/black",
24-
"python.formatting.yapfPath": "/usr/local/py-utils/bin/yapf",
25-
"python.linting.banditPath": "/usr/local/py-utils/bin/bandit",
26-
"python.linting.flake8Path": "/usr/local/py-utils/bin/flake8",
27-
"python.linting.mypyPath": "/usr/local/py-utils/bin/mypy",
28-
"python.linting.pycodestylePath": "/usr/local/py-utils/bin/pycodestyle",
29-
"python.linting.pydocstylePath": "/usr/local/py-utils/bin/pydocstyle",
30-
"python.linting.pylintPath": "/usr/local/py-utils/bin/pylint"
31-
},
16+
// Set *default* container specific settings.json values on container create.
17+
"settings": {
18+
"python.pythonPath": "/usr/local/bin/python",
19+
"python.languageServer": "Pylance",
20+
"python.linting.enabled": true,
21+
"python.linting.pylintEnabled": true,
22+
"python.formatting.autopep8Path": "/usr/local/py-utils/bin/autopep8",
23+
"python.formatting.blackPath": "/usr/local/py-utils/bin/black",
24+
"python.formatting.yapfPath": "/usr/local/py-utils/bin/yapf",
25+
"python.linting.banditPath": "/usr/local/py-utils/bin/bandit",
26+
"python.linting.flake8Path": "/usr/local/py-utils/bin/flake8",
27+
"python.linting.mypyPath": "/usr/local/py-utils/bin/mypy",
28+
"python.linting.pycodestylePath": "/usr/local/py-utils/bin/pycodestyle",
29+
"python.linting.pydocstylePath": "/usr/local/py-utils/bin/pydocstyle",
30+
"python.linting.pylintPath": "/usr/local/py-utils/bin/pylint"
31+
},
3232

33-
// Add the IDs of extensions you want installed when the container is created.
34-
"extensions": [
35-
"ms-python.python",
36-
"ms-python.vscode-pylance"
37-
],
33+
// Add the IDs of extensions you want installed when the container is created.
34+
"extensions": ["ms-python.python", "ms-python.vscode-pylance"],
3835

39-
// Use 'forwardPorts' to make a list of ports inside the container available locally.
40-
// "forwardPorts": [],
36+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
37+
// "forwardPorts": [],
4138

42-
// Use 'postCreateCommand' to run commands after the container is created.
43-
// "postCreateCommand": "pip3 install --user -r requirements.txt",
39+
// Use 'postCreateCommand' to run commands after the container is created.
40+
// "postCreateCommand": "pip3 install --user -r requirements.txt",
4441

45-
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
46-
"remoteUser": "vscode"
42+
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
43+
"remoteUser": "vscode"
4744
}

0 commit comments

Comments
 (0)