From 683391540da0395cb123113cf83e0790998fc11a Mon Sep 17 00:00:00 2001 From: Elias Sadek Date: Fri, 24 Nov 2023 16:33:49 +0000 Subject: [PATCH] more flake8 --- esmf_regrid/constants.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/esmf_regrid/constants.py b/esmf_regrid/constants.py index 9942c1b1..2335d60e 100644 --- a/esmf_regrid/constants.py +++ b/esmf_regrid/constants.py @@ -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(): @@ -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():