Skip to content

Commit

Permalink
more flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
ESadek-MO committed Nov 24, 2023
1 parent 525793b commit 6833915
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions esmf_regrid/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class NormType(Enum):


def check_method(method):
"""Checks that method is a member of the `Constants.Method` enum or raises an error."""
"""Check that method is a member of the `Constants.Method` enum or raise an error."""
if method in method_dict.keys():
result = method_dict[method]
elif method in method_dict.values():
Expand All @@ -48,7 +48,7 @@ def check_method(method):


def check_norm(norm):
"""Checks that normtype is a member of the `Constants.NormType` enum or raises an error."""
"""Check that normtype is a member of the `Constants.NormType` enum or raise an error."""
if norm in norm_dict.keys():
result = norm_dict[norm]
elif norm in norm_dict.values():
Expand Down

0 comments on commit 6833915

Please sign in to comment.