From fe8e7cca5bce0d6f9d05bb1e48f407fc8cbfdf50 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Wed, 11 Mar 2020 20:53:11 -0400 Subject: [PATCH] black updates Change-Id: Ifa214c490216bb6634945962681eb316c9e9e44f --- alembic/__init__.py | 2 +- alembic/ddl/sqlite.py | 1 - tests/test_command.py | 6 +++--- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/alembic/__init__.py b/alembic/__init__.py index 57aa4811..3bcbd64f 100644 --- a/alembic/__init__.py +++ b/alembic/__init__.py @@ -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 diff --git a/alembic/ddl/sqlite.py b/alembic/ddl/sqlite.py index f89b8548..84e9dd89 100644 --- a/alembic/ddl/sqlite.py +++ b/alembic/ddl/sqlite.py @@ -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( diff --git a/tests/test_command.py b/tests/test_command.py index b866d63b..6ecfdbef 100644 --- a/tests/test_command.py +++ b/tests/test_command.py @@ -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) -- 2.47.2