Skip to content

Commit

Permalink
Merge pull request #597 from pytroll/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
djhoese committed May 8, 2024
2 parents b321457 + 0c0d61c commit cc49062
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ exclude: '^$'
fail_fast: false
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: 'v0.3.5'
rev: 'v0.4.3'
hooks:
- id: ruff
# once https://github.com/astral-sh/ruff/issues/2402 is fully resolved then we can get rid of flake8:
Expand All @@ -11,7 +11,7 @@ repos:
hooks:
- id: flake8
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v4.6.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
Expand All @@ -23,7 +23,7 @@ repos:
- id: bandit
args: [--ini, .bandit]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: 'v1.9.0' # Use the sha / tag you want to point at
rev: 'v1.10.0' # Use the sha / tag you want to point at
hooks:
- id: mypy
additional_dependencies:
Expand Down
2 changes: 1 addition & 1 deletion pyresample/test/test_dask_ewa.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ def test_compare_to_legacy(self, input_shape, input_dims, maximum_weight_mode):
maximum_weight_mode=maximum_weight_mode)
legacy_arr = legacy_data.compute()

np.testing.assert_allclose(new_arr, legacy_arr)
np.testing.assert_allclose(new_arr, legacy_arr, atol=1e-6)

@pytest.mark.parametrize(
('input_shape', 'input_dims', 'as_np'),
Expand Down

0 comments on commit cc49062

Please sign in to comment.