From: Mike Bayer Date: Thu, 12 Mar 2020 00:53:11 +0000 (-0400) Subject: black updates X-Git-Tag: rel_1_4_2~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe8e7cca5bce0d6f9d05bb1e48f407fc8cbfdf50;p=thirdparty%2Fsqlalchemy%2Falembic.git black updates Change-Id: Ifa214c490216bb6634945962681eb316c9e9e44f --- 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)