Skip to content
This repository was archived by the owner on Nov 14, 2022. It is now read-only.

Commit 107c07b

Browse files
author
Dimitar Tasev
authored
Merge pull request #1323 from ISISScientificComputing/fix_unnecessary_variable_duplication_AR-1360
2 parents 015769a + 69ccf00 commit 107c07b

File tree

9 files changed

+447
-42
lines changed

9 files changed

+447
-42
lines changed

.vscode/extensions.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"recommendations": [
33
"ms-python.python",
4-
"ms-python.vscode-pylance"
4+
"ms-python.vscode-pylance",
5+
"batisteo.vscode-django"
56
]
67
}

.vscode/launch.json

Lines changed: 94 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,92 @@
44
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
55
"version": "0.2.0",
66
"configurations": [
7+
{
8+
"name": "Queue Processor Docker Attach",
9+
"type": "python",
10+
"request": "attach",
11+
"connect": {
12+
"host": "127.0.0.1",
13+
"port": 5678
14+
},
15+
"pathMappings": [
16+
{
17+
"localRoot": "${workspaceFolder}",
18+
"remoteRoot": "/autoreduce"
19+
}
20+
],
21+
"presentation": {
22+
"hidden": false,
23+
"group": "autoreduce-docker",
24+
"order": 1
25+
},
26+
"preLaunchTask": "Run Docker Queue Processor",
27+
"postDebugTask": "Kill queue-processor-debugpy"
28+
},
29+
{
30+
"name": "Webapp Docker Attach",
31+
"type": "python",
32+
"request": "attach",
33+
"connect": {
34+
"host": "127.0.0.1",
35+
"port": 5679
36+
},
37+
"pathMappings": [
38+
{
39+
"localRoot": "${workspaceFolder}",
40+
"remoteRoot": "/autoreduce"
41+
}
42+
],
43+
"presentation": {
44+
"hidden": false,
45+
"group": "autoreduce-docker",
46+
"order": 1
47+
},
48+
"preLaunchTask": "Run Docker Web App",
49+
"postDebugTask": "Kill webapp-debugpy"
50+
},
51+
{
52+
"name": "pytest Docker Attach",
53+
"type": "python",
54+
"request": "attach",
55+
"connect": {
56+
"host": "127.0.0.1",
57+
"port": 5680
58+
},
59+
"pathMappings": [
60+
{
61+
"localRoot": "${workspaceFolder}",
62+
"remoteRoot": "/autoreduce"
63+
}
64+
],
65+
"presentation": {
66+
"hidden": false,
67+
"group": "autoreduce-docker",
68+
"order": 1
69+
},
70+
"preLaunchTask": "Run Docker pytest",
71+
},
72+
{
73+
"name": "pytest django Docker Attach",
74+
"type": "python",
75+
"request": "attach",
76+
"connect": {
77+
"host": "127.0.0.1",
78+
"port": 5681
79+
},
80+
"pathMappings": [
81+
{
82+
"localRoot": "${workspaceFolder}",
83+
"remoteRoot": "/autoreduce"
84+
}
85+
],
86+
"presentation": {
87+
"hidden": false,
88+
"group": "autoreduce-docker",
89+
"order": 1
90+
},
91+
"preLaunchTask": "Run Docker pytest django",
92+
},
793
{
894
"name": "Pytest",
995
"type": "python",
@@ -16,7 +102,7 @@
16102
],
17103
"presentation": {
18104
"hidden": false,
19-
"group": "autoreduce",
105+
"group": "autoreduce-native",
20106
},
21107
"env": {
22108
"DISPLAY": ":1",
@@ -34,7 +120,7 @@
34120
"django": true,
35121
"presentation": {
36122
"hidden": false,
37-
"group": "autoreduce",
123+
"group": "autoreduce-native",
38124
},
39125
"env": {
40126
"DISPLAY": ":1",
@@ -56,7 +142,7 @@
56142
],
57143
"presentation": {
58144
"hidden": false,
59-
"group": "autoreduce",
145+
"group": "autoreduce-native",
60146
},
61147
"env": {
62148
"RUNNING_VIA_PYTEST": "true"
@@ -74,8 +160,8 @@
74160
"django": true,
75161
"presentation": {
76162
"hidden": false,
77-
"group": "autoreduce",
78-
"order": 1
163+
"group": "autoreduce-native",
164+
"order": 99
79165
},
80166
},
81167
{
@@ -86,8 +172,8 @@
86172
"console": "integratedTerminal",
87173
"presentation": {
88174
"hidden": false,
89-
"group": "autoreduce",
90-
"order": 2
175+
"group": "autoreduce-native",
176+
"order": 98
91177
}
92178
},
93179
{
@@ -104,6 +190,6 @@
104190
"remoteRoot": "/autoreduce"
105191
}
106192
]
107-
}
193+
},
108194
]
109195
}

0 commit comments

Comments
 (0)