Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 17, 2023
1 parent 6137e4f commit 20d940b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions esmf_regrid/schemes.py
Original file line number Diff line number Diff line change
Expand Up @@ -914,7 +914,7 @@ def regridder(
tgt_location : str or None, default=None
Either "face" or "node". Describes the location for data on the mesh
if the target is not a :class:`~iris.cube.Cube`.
Returns
-------
Expand Down Expand Up @@ -1399,7 +1399,9 @@ def __init__(
if tgt_resolution is not None:
kwargs["tgt_resolution"] = tgt_resolution
if tgt_location is not None and tgt_location != "face":
raise ValueError("For area weighted regridding, target location must be 'face'.")
raise ValueError(
"For area weighted regridding, target location must be 'face'."
)
kwargs["use_src_mask"] = use_src_mask
kwargs["use_tgt_mask"] = use_tgt_mask
super().__init__(
Expand Down

0 comments on commit 20d940b

Please sign in to comment.