]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commitdiff
Bring line length under 80 chars
authord3 <david.hills@florincourt.com>
Thu, 24 Aug 2023 15:37:47 +0000 (16:37 +0100)
committerd3 <david.hills@florincourt.com>
Thu, 24 Aug 2023 15:37:47 +0000 (16:37 +0100)
alembic/autogenerate/render.py

index f41316e0ea836255f9cc63a377a2a04c7ae21fe9..d9018d1c1078e2a28d5403833b352986e7a7546a 100644 (file)
@@ -409,7 +409,8 @@ def _drop_constraint(
         "prefix": _alembic_autogenerate_prefix(autogen_context),
         "name": _render_gen_name(autogen_context, op.constraint_name),
         "table_name": _ident(op.table_name),
-        "type": (", type_=%r" % _ident(op.constraint_type)) if op.constraint_type else "",
+        "type": (", type_=%r" % 
+            _ident(op.constraint_type)) if op.constraint_type else "",
         "schema": (", schema=%r" % _ident(op.schema)) if op.schema else "",
     }
     return text