]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commitdiff
black updates
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 12 Mar 2020 00:53:11 +0000 (20:53 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 12 Mar 2020 00:53:11 +0000 (20:53 -0400)
Change-Id: Ifa214c490216bb6634945962681eb316c9e9e44f

alembic/__init__.py
alembic/ddl/sqlite.py
tests/test_command.py

index 57aa4811f09f8dd5d487770189f5597de0686a1a..3bcbd64f25580a27a712543718c9ee849f4d98c9 100644 (file)
@@ -5,7 +5,7 @@ from . import op  # noqa
 from .runtime import environment
 from .runtime import migration
 
-__version__ = '1.4.2'
+__version__ = "1.4.2"
 
 sys.modules["alembic.migration"] = migration
 sys.modules["alembic.environment"] = environment
index f89b85483e1aaa9d137913ed09e4ec29119d1b18..84e9dd8962fad41357bb26c29169d2826c19979a 100644 (file)
@@ -50,7 +50,6 @@ class SQLiteImpl(DefaultImpl):
                 "No support for ALTER of constraints in SQLite dialect"
                 "Please refer to the batch mode feature which allows for "
                 "SQLite migrations using a copy-and-move strategy."
-
             )
 
     def compare_server_default(
index b866d63bb0f62665891b782a7469067488d0b6b1..6ecfdbef28b87d56e2ef901b55e15a9440417781 100644 (file)
@@ -887,7 +887,7 @@ class EditTest(TestBase):
     def test_edit_head(self):
         expected_call_arg = os.path.normpath(
             "%s/scripts/versions/%s_revision_c.py"
-            % (EditTest.cfg.config_args["here"], EditTest.c,)
+            % (EditTest.cfg.config_args["here"], EditTest.c)
         )
 
         with mock.patch("alembic.util.edit") as edit:
@@ -897,7 +897,7 @@ class EditTest(TestBase):
     def test_edit_b(self):
         expected_call_arg = os.path.normpath(
             "%s/scripts/versions/%s_revision_b.py"
-            % (EditTest.cfg.config_args["here"], EditTest.b,)
+            % (EditTest.cfg.config_args["here"], EditTest.b)
         )
 
         with mock.patch("alembic.util.edit") as edit:
@@ -936,7 +936,7 @@ class EditTest(TestBase):
     def test_edit_current(self):
         expected_call_arg = os.path.normpath(
             "%s/scripts/versions/%s_revision_b.py"
-            % (EditTest.cfg.config_args["here"], EditTest.b,)
+            % (EditTest.cfg.config_args["here"], EditTest.b)
         )
 
         command.stamp(self.cfg, self.b)