-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvs.code-workspace
89 lines (89 loc) · 2.22 KB
/
vs.code-workspace
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{
"folders": [
{
// "name": "repository",
"path": "."
}
],
"settings": {
// general settings
"breadcrumbs.enabled": true,
"editor.formatOnType": true,
"editor.formatOnSave": true,
"editor.minimap.enabled": false,
// rendering whitespaces on selection
"editor.renderWhitespace": "all",
"workbench.colorTheme": "Default Dark+",
"workbench.colorCustomizations": {
"[Default Dark+]": {
"editorWhitespace.foreground": "#1E1E1E"
}
},
// explorer settings
"files.exclude": {
"**/.ipynb_checkpoints": true,
"**/__pycache__": true,
"**/.git": true
},
// python settings
"[python]": {
"editor.rulers": [
// https://www.python.org/dev/peps/pep-0008/#maximum-line-length
72, // maximum recomended documentation line length
79, // maximum recomended code line length
119 // maximum recomended GitHub line length
],
"editor.codeActionsOnSave": {
"source.organizeImports": true
}
},
"python.pythonPath": "${env:HOME}${env:HOMEPATH}/.python/bin/python",
"python.formatting.provider": "yapf",
"python.formatting.yapfArgs": [
"--style={ based_on_style: google, column_limit: 79 }"
],
"python.linting.enabled": true,
"python.linting.pep8Enabled": true,
"python.linting.pylintEnabled": true,
"python.linting.mypyEnabled": true,
"python.linting.pydocstyleEnabled": true,
"python.linting.pep8Args": [
"--ignore=E731,E741"
],
"python.linting.pylintArgs": [
// "--generated-members=torch.*,argparse.Namespace.*",
// "--ignored-modules=torch",
// "--enable=unused-import",
"--disable=C0111,C0103,C0411,C1801,R0913,R0903"
],
"python.linting.mypyArgs": [
"--ignore-missing-imports",
"--follow-imports=silent"
],
"python.linting.pydocstyleArgs": [
"--add-ignore=D202"
],
// debugger settings
"launch": {
"version": "0.2.0",
"configurations": [
{
"name": "Python: Full Debug",
"type": "python",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal",
"debugStdLib": true
},
{
"name": "Python: Current File",
"type": "python",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal",
"debugStdLib": false
}
]
}
}
}