Commit b51eb90
committed
MNT: satisfy ruff/pylint for parachute changes
- ruff format: collapse the parachutes_info source comprehension to one line.
- pylint (no-value-for-parameter, fail-under=10): the base Parachute could
not offer a generic from_dict because each concrete model has different
required constructor arguments. Make from_dict abstract (mirroring u_dot
and add_information_to_flight); the shared _decode_trigger helper stays on
the base and HemisphericalParachute keeps its concrete implementation.1 parent d945ea0 commit b51eb90
2 files changed
Lines changed: 7 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1308 | 1308 | | |
1309 | 1309 | | |
1310 | 1310 | | |
1311 | | - | |
1312 | | - | |
1313 | | - | |
| 1311 | + | |
1314 | 1312 | | |
1315 | 1313 | | |
1316 | 1314 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
394 | 394 | | |
395 | 395 | | |
396 | 396 | | |
| 397 | + | |
397 | 398 | | |
398 | | - | |
399 | | - | |
400 | | - | |
401 | | - | |
402 | | - | |
403 | | - | |
404 | | - | |
405 | | - | |
406 | | - | |
407 | | - | |
408 | | - | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
0 commit comments