Skip to content

Commit d5c33a3

Browse files
committed
Fix typos discovered by codespell
1 parent d66d34e commit d5c33a3

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

CHANGELOG.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ dependency-group: github-actions
580580

581581
- Fixes #61
582582
- Config now includes `resolved_filemap` property
583-
- resolved filemap exapands all globs
583+
- resolved filemap expands all globs
584584
- Config now includes `files_to_modify` property
585585
- files to modify resolves inclusions and exclutions
586586
- Improved Config.add_files property
@@ -826,7 +826,7 @@ dependency-group: github-actions
826826

827827
- Fixed issue with formatting. [da7544f](https://github.com/callowayproject/bump-my-version/commit/da7544f18780d5f289381d33a87b331c3eaf4d6b)
828828

829-
There is an underlying edge case where the deriving previous environment variables with multple ways of formatting version numbers will fail.
829+
There is an underlying edge case where the deriving previous environment variables with multiple ways of formatting version numbers will fail.
830830
### New
831831

832832
- Add test to reproduce issue #14. [d78ff46](https://github.com/callowayproject/bump-my-version/commit/d78ff46d65ce75b7651e5697eef59dbcb71c935e)

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ parse = """(?x)
100100
(?P<minor>0|[1-9]\\d*)\\.
101101
(?P<patch>0|[1-9]\\d*)
102102
(?:
103-
- # dash seperator for pre-release section
103+
- # dash separator for pre-release section
104104
(?P<pre_l>[a-zA-Z-]+) # pre-release label
105105
(?P<pre_n>0|[1-9]\\d*) # pre-release version number
106106
)? # pre-release section is optional

bumpversion/autocast.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def noneify(s: str) -> None:
2828

2929
def listify(s: str) -> list:
3030
"""
31-
Convert a string representation of a list into list of homogenous basic types.
31+
Convert a string representation of a list into list of homogeneous basic types.
3232
3333
Type of elements in list is determined via first element. Successive elements are
3434
cast to that type.
@@ -38,10 +38,10 @@ def listify(s: str) -> list:
3838
3939
Raises:
4040
ValueError: If string does not represent a list.
41-
TypeError: If string does not represent a list of homogenous basic types.
41+
TypeError: If string does not represent a list of homogeneous basic types.
4242
4343
Returns:
44-
List of homogenous basic types.
44+
List of homogeneous basic types.
4545
"""
4646
if "\n" in s:
4747
str_list = s.strip().split("\n")

bumpversion/versioning/conventions.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,12 @@ def pep440_version_spec() -> VersionSpec:
7777
(?P<minor>0|[1-9]\d*)\.
7878
(?P<patch>0|[1-9]\d*)
7979
(?:
80-
- # dash seperator for pre-release section
80+
- # dash separator for pre-release section
8181
(?P<pre_l>[a-zA-Z-]+) # pre-release label
8282
(?P<pre_n>0|[1-9]\d*) # pre-release version number
8383
)? # pre-release section is optional
8484
(?:
85-
\+ # plus seperator for build metadata section
85+
\+ # plus separator for build metadata section
8686
(?P<buildmetadata>
8787
[0-9a-zA-Z-]+
8888
(?:\.[0-9a-zA-Z-]+)*

tests/test_cli/test_show.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def test_show(tmp_path: Path, fixtures_path: Path, runner):
2626

2727

2828
def test_show_and_increment(tmp_path: Path, fixtures_path: Path, runner):
29-
"""The show subcommand should incrment the version and display it."""
29+
"""The show subcommand should increment the version and display it."""
3030
# Arrange
3131
config_path = tmp_path / "pyproject.toml"
3232
toml_path = fixtures_path / "basic_cfg.toml"

0 commit comments

Comments
 (0)