Skip to content

Commit

Permalink
Merge pull request #188 from DimitriPapadopoulos/codespell
Browse files Browse the repository at this point in the history
Fix typos found by codespell
  • Loading branch information
jaraco committed Feb 6, 2023
2 parents 0171aee + e32c71f commit a83ea62
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion distutils/cygwinccompiler.py
Expand Up @@ -117,7 +117,7 @@ def __init__(self, verbose=0, dry_run=0, force=0):

@property
def gcc_version(self):
# Older numpy dependend on this existing to check for ancient
# Older numpy depended on this existing to check for ancient
# gcc versions. This doesn't make much sense with clang etc so
# just hardcode to something recent.
# https://github.com/numpy/numpy/pull/20333
Expand Down
2 changes: 1 addition & 1 deletion distutils/tests/test_build_ext.py
Expand Up @@ -158,7 +158,7 @@ def test_user_site(self):
cmd = self.build_ext(dist)

# making sure the user option is there
options = [name for name, short, lable in cmd.user_options]
options = [name for name, short, label in cmd.user_options]
assert 'user' in options

# setting a value
Expand Down
2 changes: 1 addition & 1 deletion distutils/tests/test_install.py
Expand Up @@ -100,7 +100,7 @@ def _expanduser(path):
cmd = install(dist)

# making sure the user option is there
options = [name for name, short, lable in cmd.user_options]
options = [name for name, short, label in cmd.user_options]
assert 'user' in options

# setting a value
Expand Down
2 changes: 1 addition & 1 deletion distutils/util.py
Expand Up @@ -228,7 +228,7 @@ def _subst(match):
import warnings

warnings.warn(
"shell/Perl-style substitions are deprecated",
"shell/Perl-style substitutions are deprecated",
DeprecationWarning,
)
return repl
Expand Down

0 comments on commit a83ea62

Please sign in to comment.