From 85152025ddba1dbeb51b467f40eb36b795d2ca37 Mon Sep 17 00:00:00 2001 From: Harutaka Kawamura Date: Tue, 11 Jan 2022 16:08:43 +0900 Subject: [PATCH] Insert spaces in warning and error messages --- alembic/ddl/sqlite.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/alembic/ddl/sqlite.py b/alembic/ddl/sqlite.py index 863accc6..f9161472 100644 --- a/alembic/ddl/sqlite.py +++ b/alembic/ddl/sqlite.py @@ -66,14 +66,14 @@ class SQLiteImpl(DefaultImpl): # auto-gen constraint and an explicit one if const._create_rule is None: # type:ignore[attr-defined] raise NotImplementedError( - "No support for ALTER of constraints in SQLite dialect" + "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." ) elif const._create_rule(self): # type:ignore[attr-defined] util.warn( "Skipping unsupported ALTER for " - "creation of implicit constraint" + "creation of implicit constraint. " "Please refer to the batch mode feature which allows for " "SQLite migrations using a copy-and-move strategy." ) @@ -81,7 +81,7 @@ class SQLiteImpl(DefaultImpl): def drop_constraint(self, const: "Constraint"): if const._create_rule is None: # type:ignore[attr-defined] raise NotImplementedError( - "No support for ALTER of constraints in SQLite dialect" + "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." ) -- 2.47.2