Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
magnusbaeck committed Jan 9, 2025
1 parent b33688e commit 00cea03
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bump_definitions.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@

def _bump_versions(root: Path, position: str, pattern: str) -> List[Path]:
"""Find definition files in the given directory, match their types
against the given glob pnattern, and create new files with version
bumps in the selected position. Returns the paths of the created
against the given glob pattern, and create new files with version
bumps in the selected position. Return the paths of the created
files.
"""
result = []
Expand Down Expand Up @@ -99,7 +99,7 @@ def _transform_definition(
argparser.add_argument(
"pattern",
metavar="TYPE_PATTERN",
help="XXX",
help="a glob pattern that selects which types should be bumped",
)
args = argparser.parse_args(sys.argv[1:])
for path in _bump_versions(Path("definitions"), args.position, args.pattern):
Expand Down

0 comments on commit 00cea03

Please sign in to comment.