Commit 20dd9b7
Add docstring linting (#493)
* Removing type hints from all docstrings
* formatting parameter headings
* Removing black + configuring ruff using movement repo config
* moving per-file-ignores for __init__.py to the list in tool.ruff.lint
* run pre-commit
* enabling ruff-format
* fixing pre-commit errors for test_configs and test_validation_unit
* disabling pre-commit
* Editing all test files to comply with linting rules
* ignoring rule D100 for now
* fixed datashuttle_functions.py
* fixing datashuttle_class
* fixing utils
* fixed tui
* fixed configs
* run pre-commit
* renaming TCH to TC
* moving Iterable import into type checking block to comply with TC003
* re-arranging rules
* Adding informative comment about ruff config
* Filling in PLACEHOLDER dosctrings in configs and utils
* syncing branch with main and adding PLACEHOLDER docstring
* enabling ruff-format
* pre-commit autofix
* pre-commit autofix
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Fix linting.
* Fixing validation as a test.
* Rewrite config_class.py
* Update canonical_folders.py
* Update canonical_configs.py
* Update load_configs.py
* Update load_configs.py
* Update datashuttle_class.py
* Update ds_logger.py
* Update decorators.py
* Update data_transfer.py
* Update rlcone.py.
* Update getters.py
* update formatting.py
* update folders.py
* Update folder_class.py
* Update folder_utils.py
* Update ssh.py
* Update validate.py
* Update tooltips.py
* Update app.py
* Update custom widgets.
* Update interface.py
* Update decorators.py
* Update tui_validators.py
* Update configs_content.py
* Update validate_content.py
* Update create_folders.py.
* Update transfer_status_tree.py
* Update logging.py.
* Update transfer.py
* Update new_project.py
* update get_help.py
* Update validate_at_path.py
* Update settings.py
* Update project_selector.py
* Update project_manager.py
* Update setup_ssh.py
* Update modal_dialogs.py
* Update datatypes.py
* Update create_folder_settings.py
* Add Returns sections.
* Fix tests and remove PLACEHOLDER in tests.
---------
Co-authored-by: JoeZiminski <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>1 parent e47c162 commit 20dd9b7
File tree
79 files changed
+2906
-2334
lines changed- datashuttle
- configs
- tui
- screens
- tabs
- utils
- utils
- tests
- tests_integration
- tests_regression
- tests_tui
- tests_unit
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
79 files changed
+2906
-2334
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
| 14 | + | |
13 | 15 | | |
| 16 | + | |
| 17 | + | |
14 | 18 | | |
| 19 | + | |
15 | 20 | | |
16 | 21 | | |
17 | 22 | | |
| 23 | + | |
| 24 | + | |
18 | 25 | | |
19 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
20 | 33 | | |
21 | 34 | | |
22 | 35 | | |
23 | 36 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
| 37 | + | |
28 | 38 | | |
29 | 39 | | |
30 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
10 | 8 | | |
11 | 9 | | |
12 | 10 | | |
| |||
31 | 29 | | |
32 | 30 | | |
33 | 31 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
| 32 | + | |
38 | 33 | | |
39 | 34 | | |
40 | 35 | | |
| |||
47 | 42 | | |
48 | 43 | | |
49 | 44 | | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
54 | 48 | | |
55 | 49 | | |
56 | 50 | | |
| |||
64 | 58 | | |
65 | 59 | | |
66 | 60 | | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
| 61 | + | |
72 | 62 | | |
73 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
74 | 67 | | |
75 | 68 | | |
76 | 69 | | |
| 70 | + | |
| 71 | + | |
77 | 72 | | |
78 | | - | |
79 | 73 | | |
80 | 74 | | |
81 | 75 | | |
| |||
142 | 136 | | |
143 | 137 | | |
144 | 138 | | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
149 | 143 | | |
150 | 144 | | |
151 | 145 | | |
| |||
159 | 153 | | |
160 | 154 | | |
161 | 155 | | |
| 156 | + | |
162 | 157 | | |
163 | 158 | | |
164 | 159 | | |
| |||
169 | 164 | | |
170 | 165 | | |
171 | 166 | | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
| 167 | + | |
176 | 168 | | |
177 | 169 | | |
178 | | - | |
179 | | - | |
| 170 | + | |
180 | 171 | | |
181 | 172 | | |
182 | 173 | | |
| |||
191 | 182 | | |
192 | 183 | | |
193 | 184 | | |
194 | | - | |
195 | | - | |
196 | | - | |
| 185 | + | |
197 | 186 | | |
198 | 187 | | |
199 | 188 | | |
200 | | - | |
201 | 189 | | |
202 | 190 | | |
203 | 191 | | |
| |||
216 | 204 | | |
217 | 205 | | |
218 | 206 | | |
219 | | - | |
220 | | - | |
221 | | - | |
| 207 | + | |
222 | 208 | | |
223 | | - | |
224 | | - | |
| 209 | + | |
| 210 | + | |
225 | 211 | | |
226 | | - | |
| 212 | + | |
227 | 213 | | |
228 | 214 | | |
229 | 215 | | |
| |||
247 | 233 | | |
248 | 234 | | |
249 | 235 | | |
250 | | - | |
251 | 236 | | |
252 | 237 | | |
253 | 238 | | |
| |||
271 | 256 | | |
272 | 257 | | |
273 | 258 | | |
| 259 | + | |
274 | 260 | | |
275 | 261 | | |
276 | 262 | | |
277 | 263 | | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
| 264 | + | |
282 | 265 | | |
283 | | - | |
284 | | - | |
285 | | - | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
286 | 269 | | |
287 | 270 | | |
288 | 271 | | |
| |||
292 | 275 | | |
293 | 276 | | |
294 | 277 | | |
295 | | - | |
296 | | - | |
| 278 | + | |
297 | 279 | | |
298 | 280 | | |
299 | 281 | | |
300 | 282 | | |
301 | 283 | | |
302 | 284 | | |
303 | 285 | | |
| 286 | + | |
304 | 287 | | |
305 | 288 | | |
306 | 289 | | |
307 | 290 | | |
308 | | - | |
309 | | - | |
| 291 | + | |
| 292 | + | |
310 | 293 | | |
311 | 294 | | |
312 | 295 | | |
| |||
337 | 320 | | |
338 | 321 | | |
339 | 322 | | |
340 | | - | |
341 | | - | |
342 | | - | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
343 | 326 | | |
344 | 327 | | |
345 | 328 | | |
| |||
352 | 335 | | |
353 | 336 | | |
354 | 337 | | |
355 | | - | |
| 338 | + | |
| 339 | + | |
356 | 340 | | |
357 | 341 | | |
358 | 342 | | |
| |||
389 | 373 | | |
390 | 374 | | |
391 | 375 | | |
392 | | - | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
393 | 379 | | |
394 | 380 | | |
395 | 381 | | |
| |||
421 | 407 | | |
422 | 408 | | |
423 | 409 | | |
424 | | - | |
425 | 410 | | |
426 | 411 | | |
427 | 412 | | |
428 | 413 | | |
429 | 414 | | |
430 | | - | |
431 | 415 | | |
432 | | - | |
433 | 416 | | |
434 | 417 | | |
435 | 418 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
16 | | - | |
| 14 | + | |
17 | 15 | | |
18 | 16 | | |
19 | 17 | | |
| |||
24 | 22 | | |
25 | 23 | | |
26 | 24 | | |
27 | | - | |
| 25 | + | |
28 | 26 | | |
29 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
34 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
35 | 38 | | |
36 | 39 | | |
37 | 40 | | |
| |||
40 | 43 | | |
41 | 44 | | |
42 | 45 | | |
43 | | - | |
44 | | - | |
45 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
46 | 49 | | |
47 | 50 | | |
48 | 51 | | |
| |||
53 | 56 | | |
54 | 57 | | |
55 | 58 | | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
| 69 | + | |
73 | 70 | | |
74 | 71 | | |
75 | 72 | | |
76 | 73 | | |
| 74 | + | |
77 | 75 | | |
78 | 76 | | |
79 | 77 | | |
80 | 78 | | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
| 79 | + | |
85 | 80 | | |
86 | 81 | | |
87 | 82 | | |
88 | 83 | | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
| 84 | + | |
94 | 85 | | |
95 | | - | |
96 | | - | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
97 | 89 | | |
98 | 90 | | |
99 | 91 | | |
| |||
0 commit comments