]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commitdiff
Address more PEP8 fails
authord3 <david.hills@florincourt.com>
Thu, 24 Aug 2023 15:46:59 +0000 (16:46 +0100)
committerd3 <david.hills@florincourt.com>
Thu, 24 Aug 2023 15:46:59 +0000 (16:46 +0100)
alembic/autogenerate/render.py

index d9018d1c1078e2a28d5403833b352986e7a7546a..b33295736ca8c37f710202fe3c2966c08179a452 100644 (file)
@@ -409,8 +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