2
2
"name" : " Keras-cv" ,
3
3
"build" : {
4
4
"dockerfile" : " Dockerfile" ,
5
- "args" : {
5
+ "args" : {
6
6
"VERSION" : " 2.11.0"
7
7
// Uncomment this if GPU support is required
8
8
// "VERSION": "2.11.0-gpu",
9
9
}
10
10
},
11
-
12
- "settings" : {
13
- "python.pythonPath" : " /usr/bin/python3" ,
14
- "python.linting.enabled" : true ,
15
- "python.linting.flake8Enabled" : true ,
16
- "python.testing.pytestEnabled" :true ,
17
- "python.editor.defaultFormatter" : " ms-python.black-formatter" ,
18
- "python.editor.formatOnSave" : true ,
19
- "python.editor.codeActionsOnSave" : {
20
- "source.organizeImports" : true
11
+ "customizations" : {
12
+ "vscode" : {
13
+ "settings" : {
14
+ "python.linting.enabled" : true ,
15
+ "python.linting.flake8Enabled" : true ,
16
+ "python.linting.pylintEnabled" : false ,
17
+ "python.testing.pytestEnabled" : true ,
18
+ "editor.formatOnSave" : true ,
19
+ "editor.codeActionsOnSave" : {
20
+ "source.organizeImports" : true
21
+ },
22
+ "[python]" : {
23
+ "editor.defaultFormatter" : " ms-python.black-formatter"
24
+ },
25
+ "editor.rulers" : [
26
+ 80
27
+ ]
28
+ },
29
+ "extensions" : [
30
+ " ms-python.python" ,
31
+ " ms-python.isort" ,
32
+ " ms-python.flake8" ,
33
+ " ms-python.black-formatter"
34
+ ]
21
35
}
22
36
},
23
-
24
- "extensions" : [
25
- " ms-python.python" ,
26
- " ms-python.isort" ,
27
- " ms-python.black-formatter"
28
- ],
29
-
30
37
"features" : {
31
- "git" : {
32
- "version" : " os-provided"
33
- }
38
+ "ghcr.io/devcontainers/features/github-cli:1" : {}
34
39
},
35
-
36
40
// TODO: Improve to allow dynamic runArgs, see microsoft/vscode-remote-release#3972
37
41
// Uncomment this if GPU support is required
38
42
// "runArgs": [
39
- // "--gpus=all"
43
+ // "--gpus=all"
40
44
// ],
41
-
42
- "onCreateCommand" : " locale-gen \" en_US.UTF-8\" "
45
+ "onCreateCommand" : " locale-gen \" en_US.UTF-8\" " ,
43
46
// Optional: install pre-commit hooks
44
47
// "postCreateCommand": "git config core.hooksPath .github/.githooks"
45
-
46
- }
48
+ "postCreateCommand" : " sh /setup.sh "
49
+ }
0 commit comments