fix: style

This commit is contained in:
Laurent Riviere 2023-08-10 16:44:42 +00:00
parent fbe14573a5
commit 68e7c35b29
2 changed files with 4 additions and 4 deletions

View File

@ -37,8 +37,8 @@ except ImportError:
from graphql import assert_valid_name as assert_name
from graphql.pyutils import register_description
from .compat import ArrayField, HStoreField, RangeField, JSONField
from .fields import DjangoListField, DjangoConnectionField
from .compat import ArrayField, HStoreField, JSONField, RangeField
from .fields import DjangoConnectionField, DjangoListField
from .settings import graphene_settings
from .utils.str_converters import to_const

View File

@ -27,8 +27,8 @@ def get_form_field_description(field):
@singledispatch
def convert_form_field(field):
raise ImproperlyConfigured(
"Don't know how to convert the Django form field %s (%s) "
"to Graphene type" % (field, field.__class__)
f"Don't know how to convert the Django form field {field} ({field.__class__}) "
"to Graphene type"
)