Skip to content

Commit

Permalink
Fix typos discovered by codespell (#181)
Browse files Browse the repository at this point in the history
* Fix typos discovered by codespell

* codespell --ignore-words-list=cheking,clen,fo,ned,reurn,smoe,tihs
  • Loading branch information
cclauss committed Sep 10, 2023
1 parent 42a57b3 commit 14256e8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pyspelling/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

__all__ = ("spellcheck",)

STEP_ERROR = """Pipline step in unexpected format: {}
STEP_ERROR = """Pipeline step in unexpected format: {}
Each pipeline step should be in the form {{key: options: {{}}}} not {{key: {{}}, key2: {{}}}}
"""
Expand Down Expand Up @@ -183,7 +183,7 @@ def _walk_src(self, targets, flags, limit, pipeline, expect_match):

found_something = False
for target in targets:
# Glob using `S` for patterns wit `|` and `O` to exclude directories.
# Glob using `S` for patterns with `|` and `O` to exclude directories.
kwargs = {"flags": flags | glob.S | glob.O}
kwargs['limit'] = limit
for f in glob.iglob(target, **kwargs):
Expand Down
2 changes: 1 addition & 1 deletion pyspelling/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def main():
parser.add_argument(
'--source', '-S',
action='append',
help="Specify override file pattern. Only applicaple when specifying exactly one --name."
help="Specify override file pattern. Only applicable when specifying exactly one --name."
)
parser.add_argument(
'--spellchecker', '-s', action='store', default='', help="Choose between aspell and hunspell"
Expand Down

0 comments on commit 14256e8

Please sign in to comment.