From 9b4e7da1ba577a2c8f7003837bce4ffc29cd461c Mon Sep 17 00:00:00 2001 From: Fardin Alizadeh Date: Mon, 22 Dec 2025 23:17:52 +0330 Subject: [PATCH] fix typos (#1769) --- alembic/ddl/postgresql.py | 2 +- docs/build/api/index.rst | 2 +- docs/build/changelog.rst | 4 ++-- tests/test_script_production.py | 2 +- tools/toxnox.py | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/alembic/ddl/postgresql.py b/alembic/ddl/postgresql.py index 90ecf70c..8d036c64 100644 --- a/alembic/ddl/postgresql.py +++ b/alembic/ddl/postgresql.py @@ -319,7 +319,7 @@ class PostgresqlImpl(DefaultImpl): self, item: Union[Index, UniqueConstraint] ) -> Tuple[Any, ...]: # only the positive case is returned by sqlalchemy reflection so - # None and False are threated the same + # None and False are treated the same if item.dialect_kwargs.get("postgresql_nulls_not_distinct"): return ("nulls_not_distinct",) return () diff --git a/docs/build/api/index.rst b/docs/build/api/index.rst index 50a543b5..e5344649 100644 --- a/docs/build/api/index.rst +++ b/docs/build/api/index.rst @@ -5,7 +5,7 @@ API Details =========== Alembic's internal API has many public integration points that can be used -to extend Alembic's functionality as well as to re-use its functionality +to extend Alembic's functionality as well as to reuse its functionality in new ways. As the project has grown, more APIs are created and exposed for this purpose. diff --git a/docs/build/changelog.rst b/docs/build/changelog.rst index 79cfdf96..319dc971 100644 --- a/docs/build/changelog.rst +++ b/docs/build/changelog.rst @@ -874,7 +874,7 @@ Changelog :tickets: 1261 Fixed format string logged when running a post write hook - Pull request curtesy of Mathieu Défosse. + Pull request courtesy of Mathieu Défosse. .. change:: :tags: feature, operations @@ -5762,7 +5762,7 @@ Changelog The command line runner has been organized into a reusable CommandLine object, so that other - front-ends can re-use the argument parsing built + front-ends can reuse the argument parsing built in. .. change:: diff --git a/tests/test_script_production.py b/tests/test_script_production.py index 853767dc..b8a3c8c6 100644 --- a/tests/test_script_production.py +++ b/tests/test_script_production.py @@ -664,7 +664,7 @@ def downgrade(): def test_programmatic_command_option(self): def process_revision_directives(context, rev, generate_revisions): - generate_revisions[0].message = "test programatic" + generate_revisions[0].message = "test programmatic" generate_revisions[0].upgrade_ops = ops.UpgradeOps( ops=[ ops.CreateTableOp( diff --git a/tools/toxnox.py b/tools/toxnox.py index 295627a4..2bdcebd3 100644 --- a/tools/toxnox.py +++ b/tools/toxnox.py @@ -2,7 +2,7 @@ sections for nox tests, which include tags that indicate various combinations of those parameters in such a way that it's somewhat similar to how we were using the tox project; where individual dash-separated tags could -be added to add more specificity to the suite configuation, or omitting them +be added to add more specificity to the suite configuration, or omitting them would fall back to defaults. -- 2.47.3