Skip to content

Commit 79eb7ce

Browse files
authored
Fixed lint issues
1 parent 06d86b0 commit 79eb7ce

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

graphene_sqlalchemy/fields.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ def type(self):
1717
_type = super(ConnectionField, self).type
1818
if issubclass(_type, Connection):
1919
return _type
20-
assert issubclass(_type, SQLAlchemyObjectType), "SQLALchemyConnectionField only accepts SQLAlchemyObjectType types, not {}".format(_type.__name__)
20+
assert issubclass(_type, SQLAlchemyObjectType), (
21+
"SQLALchemyConnectionField only accepts SQLAlchemyObjectType types, not {}"
22+
).format(_type.__name__)
2123
assert _type._meta.connection, "The type {} doesn't have a connection".format(_type.__name__)
2224
return _type._meta.connection
2325

0 commit comments

Comments
 (0)