diff --git a/graphene/utils/str_converters.py b/graphene/utils/str_converters.py index 00e2196c..9ac8461f 100644 --- a/graphene/utils/str_converters.py +++ b/graphene/utils/str_converters.py @@ -19,4 +19,4 @@ def to_snake_case(name): def to_const(string): - return re.sub(r"[\W|^]+", "_", unidecode(string)).upper() # noqa + return re.sub(r"[\W|^]+", "_", unidecode(string)).upper()