Commit 2dd6195
authored
Remove top level lib directory and move tests to top level (#1108)
* Move tests to top level
* Move improver to top level
* Update pytest test discovery path
* Bulk rewrite test imports
* Move tolerance constants to improver
This avoids improver code importing from tests.
* Convert test imports to relative
* Sort all imports
Settings used: isort --recursive --atomic -w 79 -m 4 -y
* Update bin scripts to remove lib directory
* Remove unused import
* Update paths in github actions
* Fix long line lengths
Rename some duplicated directory/file names to make names shorter
* Update docs makefile
* Fix import in metadata CLI
* Rename tests to improver_tests
* Update paths for change from tests to improver_tests1 parent e85dece commit 2dd6195
File tree
378 files changed
+497
-482
lines changed- .github/workflows
- bin
- doc
- source
- improver_tests
- acceptance
- between_thresholds
- blending
- blend_across_adjacent_points
- calculate_weights_and_blend
- spatial_weights
- weighted_blend
- weights
- calculate_sleet_prob
- cli
- convection
- cube_combiner
- ensemble_calibration
- ensemble_calibration
- utilities
- ensemble_copula_coupling
- ensemble_copula_coupling
- feels_like_temperature
- generate_ancillaries
- lapse_rate
- metadata
- nbhood
- circular_kernel
- nbhood
- recursive_filter
- square_kernel
- use_nbhood
- nowcasting
- accumulation
- forecasting
- lightning
- optical_flow
- utilities
- orographic_enhancement
- percentile
- psychrometric_calculations
- psychrometric_calculations
- spotdata
- spotdata
- standardise
- threshold
- utilities
- ancillary_creation
- cube_manipulation
- solar
- uv_index
- wind_calculations
- wind_components
- wind_direction
- wind_downscaling
- wind_gust_diagnostic
- wxcode
- wxcode
- improver
- blending
- cli
- ensemble_calibration
- ensemble_copula_coupling
- generate_ancillaries
- metadata
- constants
- nbhood
- nowcasting
- psychrometric_calculations
- spotdata
- utilities
- wind_calculations
- wxcode
- lib/improver/tests/acceptance
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
378 files changed
+497
-482
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
| 129 | + | |
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
| 134 | + | |
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| |||
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
217 | | - | |
| 217 | + | |
218 | 218 | | |
219 | 219 | | |
220 | | - | |
221 | | - | |
| 220 | + | |
222 | 221 | | |
223 | 222 | | |
224 | 223 | | |
| |||
268 | 267 | | |
269 | 268 | | |
270 | 269 | | |
271 | | - | |
| 270 | + | |
272 | 271 | | |
273 | 272 | | |
274 | 273 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
416 | 416 | | |
417 | 417 | | |
418 | 418 | | |
419 | | - | |
| 419 | + | |
420 | 420 | | |
421 | 421 | | |
422 | 422 | | |
| |||
File renamed without changes.
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | 36 | | |
38 | 37 | | |
39 | 38 | | |
| |||
File renamed without changes.
File renamed without changes.
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
| 34 | + | |
36 | 35 | | |
37 | 36 | | |
38 | 37 | | |
39 | | - | |
40 | | - | |
| 38 | + | |
| 39 | + | |
41 | 40 | | |
42 | 41 | | |
43 | 42 | | |
| |||
0 commit comments