diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 18a5b085..6760c61f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -24,7 +24,7 @@ repos: pass_filenames: false args: [--config=./pyproject.toml, .] - repo: https://github.com/PyCQA/flake8 - rev: '6.0.0' + rev: '6.1.0' hooks: # Run flake8. - id: flake8 diff --git a/esmf_regrid/tests/unit/schemes/test__regrid_unstructured_to_rectilinear__prepare.py b/esmf_regrid/tests/unit/schemes/test__regrid_unstructured_to_rectilinear__prepare.py index 0e585b0d..a14fcfa1 100644 --- a/esmf_regrid/tests/unit/schemes/test__regrid_unstructured_to_rectilinear__prepare.py +++ b/esmf_regrid/tests/unit/schemes/test__regrid_unstructured_to_rectilinear__prepare.py @@ -68,5 +68,5 @@ def test_flat_cubes(): assert mesh_dim == 0 assert grid_x == tgt.coord("longitude") assert grid_y == tgt.coord("latitude") - assert type(regridder.tgt) == GridInfo - assert type(regridder.src) == MeshInfo + assert type(regridder.tgt) is GridInfo + assert type(regridder.src) is MeshInfo