-
Notifications
You must be signed in to change notification settings - Fork 0
/
python-nixos-nspawn.code-workspace
98 lines (98 loc) · 1.94 KB
/
python-nixos-nspawn.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
90
91
92
93
94
95
96
97
98
{
"folders": [
{
"path": "."
}
],
"settings": {
"editor.formatOnSave": true,
"files.insertFinalNewline": true,
"files.trimTrailingWhitespace": true,
"black-formatter.importStrategy": "fromEnvironment",
"python.formatting.blackPath": "black",
"python.formatting.provider": "black",
"python.languageServer": "Jedi",
"python.defaultInterpreterPath": "${workspaceRoot}/.venv/bin/python3",
"python.testing.pytestEnabled": false,
"python.testing.unittestEnabled": true,
"python.testing.promptToConfigure": false,
"flake8.path": [
"python",
"-m",
"flake8p"
],
"pylint.path": [
"python",
"-m",
"pylint"
],
"flake8.ignorePatterns": [
".vscode/*.py",
"**/site-packages/**/*.py",
"**/__pycache__/*",
"dist/*",
"build/*"
],
"[python]": {
"editor.defaultFormatter": "ms-python.black-formatter",
"editor.codeActionsOnSave": {
"source.organizeImports": "explicit"
}
},
"python.testing.unittestArgs": [
"-v",
"-s",
".",
"-p",
"test_*.py"
],
"files.exclude": {
"**/__pycache__": true
},
"terminal.integrated.copyOnSelection": true,
"terminal.integrated.profiles.linux": {
"nix-develop": {
"path": "nix",
"args": [
"develop"
],
"icon": "terminal-linux"
},
},
"terminal.integrated.defaultProfile.linux": "bash",
},
"launch": {
"configurations": [
{
"name": "Python: Debug Program",
"justMyCode": false,
"console": "integratedTerminal",
"type": "python",
"request": "launch",
"module": "nixos_nspawn",
"args": [
"-v",
"list",
]
},
{
"name": "Python: Current file",
"justMyCode": false,
"console": "integratedTerminal",
"type": "python",
"request": "launch",
"program": "${file}",
"args": []
}
],
"compounds": []
},
"extensions": {
"recommendations": [
"ms-python.python",
"ms-python.black-formatter",
"ms-python.pylint",
"ms-python.flake8",
]
}
}