Skip to content

Commit 9b4e7da

Browse files
authored
fix typos (#1769)
1 parent c94816e commit 9b4e7da

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

alembic/ddl/postgresql.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ def _dialect_options(
319319
self, item: Union[Index, UniqueConstraint]
320320
) -> Tuple[Any, ...]:
321321
# only the positive case is returned by sqlalchemy reflection so
322-
# None and False are threated the same
322+
# None and False are treated the same
323323
if item.dialect_kwargs.get("postgresql_nulls_not_distinct"):
324324
return ("nulls_not_distinct",)
325325
return ()

docs/build/api/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ API Details
55
===========
66

77
Alembic's internal API has many public integration points that can be used
8-
to extend Alembic's functionality as well as to re-use its functionality
8+
to extend Alembic's functionality as well as to reuse its functionality
99
in new ways. As the project has grown, more APIs are created and exposed
1010
for this purpose.
1111

docs/build/changelog.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -874,7 +874,7 @@ Changelog
874874
:tickets: 1261
875875

876876
Fixed format string logged when running a post write hook
877-
Pull request curtesy of Mathieu Défosse.
877+
Pull request courtesy of Mathieu Défosse.
878878

879879
.. change::
880880
:tags: feature, operations
@@ -5762,7 +5762,7 @@ Changelog
57625762

57635763
The command line runner has been organized
57645764
into a reusable CommandLine object, so that other
5765-
front-ends can re-use the argument parsing built
5765+
front-ends can reuse the argument parsing built
57665766
in.
57675767

57685768
.. change::

tests/test_script_production.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -664,7 +664,7 @@ def process_revision_directives(context, rev, generate_revisions):
664664

665665
def test_programmatic_command_option(self):
666666
def process_revision_directives(context, rev, generate_revisions):
667-
generate_revisions[0].message = "test programatic"
667+
generate_revisions[0].message = "test programmatic"
668668
generate_revisions[0].upgrade_ops = ops.UpgradeOps(
669669
ops=[
670670
ops.CreateTableOp(

tools/toxnox.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
sections for nox tests, which include tags that indicate various combinations
33
of those parameters in such a way that it's somewhat similar to how
44
we were using the tox project; where individual dash-separated tags could
5-
be added to add more specificity to the suite configuation, or omitting them
5+
be added to add more specificity to the suite configuration, or omitting them
66
would fall back to defaults.
77
88

0 commit comments

Comments
 (0)