Commit 1ac4d1f
MNT: satisfy pylint on the pressure_ISA discretization changes
CI runs pylint unpinned; three messages were attributable to this PR:
- C0415 import-outside-toplevel: move the tools import to the test module
top level.
- R0915 too-many-statements: keep the discretization block compact so
pressure_ISA stays within the 25-statement limit.
- C0302 too-many-lines: the terser block keeps environment.py under the
3050-line module limit.
np.append over two linspaces yields the same grid as the previous
np.concatenate, so all numeric results are unchanged.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 0c24858 commit 1ac4d1f
2 files changed
Lines changed: 8 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2554 | 2554 | | |
2555 | 2555 | | |
2556 | 2556 | | |
2557 | | - | |
2558 | | - | |
2559 | | - | |
2560 | | - | |
2561 | | - | |
2562 | | - | |
2563 | | - | |
| 2557 | + | |
| 2558 | + | |
| 2559 | + | |
| 2560 | + | |
| 2561 | + | |
| 2562 | + | |
| 2563 | + | |
2564 | 2564 | | |
2565 | | - | |
2566 | | - | |
2567 | | - | |
2568 | | - | |
2569 | | - | |
2570 | | - | |
2571 | | - | |
2572 | | - | |
2573 | 2565 | | |
2574 | 2566 | | |
2575 | 2567 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
837 | 838 | | |
838 | 839 | | |
839 | 840 | | |
840 | | - | |
841 | 841 | | |
842 | 842 | | |
843 | 843 | | |
| |||
0 commit comments