Skip to content

Commit

Permalink
Code style
Browse files Browse the repository at this point in the history
  • Loading branch information
MoseleyS committed Sep 7, 2023
1 parent 30e5a76 commit ddfc9da
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion improver/nbhood/nbhood.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
# POSSIBILITY OF SUCH DAMAGE.
"""Module containing neighbourhood processing utilities."""

from typing import List, Optional, Type, Union
from typing import List, Optional, Union

import iris
import numpy as np
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,9 @@ def test_sparse_no_collapse_square(self):
"topographic_zone", "square", 2000
)
result = plugin(cube, mask_cube)
assert_allclose(result.data[...,3:6,3:6], self.expected_uncollapsed_result, equal_nan=True)
assert_allclose(
result.data[..., 3:6, 3:6], self.expected_uncollapsed_result, equal_nan=True
)
expected_coords = cube.coords()
expected_coords.insert(0, mask_cube.coord("topographic_zone"))
self.assertEqual(result.coords(), expected_coords)
Expand Down

0 comments on commit ddfc9da

Please sign in to comment.