-
Notifications
You must be signed in to change notification settings - Fork 169
/
Copy pathsettings.json
50 lines (46 loc) · 1.3 KB
/
settings.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
// See https://code.visualstudio.com/docs/getstarted/settings
{
// Google formatting settings.
"editor.rulers": [80],
"editor.detectIndentation": false,
"editor.tabSize": 2,
"editor.insertSpaces": true,
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
"files.trimTrailingWhitespace": true,
// Format modified lines on save.
"editor.formatOnSave": true,
"editor.formatOnSaveMode": "modifications",
// File types used in this project.
"files.associations": {
".pylintrc": "ini"
},
// Ignore Git and caches.
"files.watcherExclude": {
"**/.git/**": true
},
"files.exclude": {
"**/*.egg-info": true,
"**/.eggs": true,
"**/*.py[cod]": true,
"**/__pycache__": true,
"**/.cache": true,
"**/.pytest_cache": true,
"**/.pytype": true
},
// Python settings.
"python.testing.unittestEnabled": false,
"python.testing.nosetestsEnabled": false,
"python.testing.pytestEnabled": true,
"python.linting.pylintUseMinimalCheckers": false,
"[python]": {
"editor.defaultFormatter": "ms-python.black-formatter",
"editor.codeActionsOnSave": {
"source.organizeImports": "explicit"
}
},
"python.formatting.provider": "none",
"black-formatter.path": ["pyink"],
"isort.args": ["--resolve-all-configs"],
"isort.check": true
}