Skip to content

Commit 294e6ea

Browse files
authored
Merge pull request #559 from pytroll/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2 parents 25d0c72 + 850ec28 commit 294e6ea

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ repos:
2323
- id: bandit
2424
args: [--ini, .bandit]
2525
- repo: https://github.com/pre-commit/mirrors-mypy
26-
rev: 'v1.6.1' # Use the sha / tag you want to point at
26+
rev: 'v1.7.1' # Use the sha / tag you want to point at
2727
hooks:
2828
- id: mypy
2929
additional_dependencies:

pyresample/geometry.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -345,8 +345,8 @@ def _get_bbox_elements(self, coord_fun, vertices_per_side: Optional[int] = None)
345345

346346
def _filter_bbox_nans(
347347
self,
348-
dim1_sides: list[np.ndarray],
349-
dim2_sides: list[np.ndarray],
348+
dim1_sides: tuple[np.ndarray, np.ndarray, np.ndarray, np.ndarray],
349+
dim2_sides: tuple[np.ndarray, np.ndarray, np.ndarray, np.ndarray],
350350
) -> tuple[list[np.ndarray], list[np.ndarray]]:
351351
new_dim1_sides = []
352352
new_dim2_sides = []

0 commit comments

Comments
 (0)