]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commitdiff
Insert spaces in warning and error messages 976/head
authorHarutaka Kawamura <hkawamura0130@gmail.com>
Tue, 11 Jan 2022 07:08:43 +0000 (16:08 +0900)
committerGitHub <noreply@github.com>
Tue, 11 Jan 2022 07:08:43 +0000 (16:08 +0900)
alembic/ddl/sqlite.py

index 863accc6b50bef2e9c5e4a639111793fa49b0bf8..f916147261d58b71261997dcc504b285769235a6 100644 (file)
@@ -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."
             )