diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2023-02-06 13:00:20 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-06 13:00:20 -0500 |
| commit | a83ea627bbf929c46b1ca3ffb2e156e807fd5eb2 (patch) | |
| tree | 7dc53ca815f0a70f6d4ddbcf5b62fd27ca6d3025 | |
| parent | 0171aee1bc0e5811d710e6d9253ec80556817095 (diff) | |
| parent | e32c71f38d6faf95c8241f4bfe4b6abf06a2ded9 (diff) | |
| download | python-setuptools-git-a83ea627bbf929c46b1ca3ffb2e156e807fd5eb2.tar.gz | |
Merge pull request #188 from DimitriPapadopoulos/codespell
Fix typos found by codespell
| -rw-r--r-- | distutils/cygwinccompiler.py | 2 | ||||
| -rw-r--r-- | distutils/tests/test_build_ext.py | 2 | ||||
| -rw-r--r-- | distutils/tests/test_install.py | 2 | ||||
| -rw-r--r-- | distutils/util.py | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/distutils/cygwinccompiler.py b/distutils/cygwinccompiler.py index d3905804..47efa377 100644 --- a/distutils/cygwinccompiler.py +++ b/distutils/cygwinccompiler.py @@ -117,7 +117,7 @@ class CygwinCCompiler(UnixCCompiler): @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 diff --git a/distutils/tests/test_build_ext.py b/distutils/tests/test_build_ext.py index 9084d2e2..cb61ad74 100644 --- a/distutils/tests/test_build_ext.py +++ b/distutils/tests/test_build_ext.py @@ -158,7 +158,7 @@ class TestBuildExt(TempdirManager): 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 diff --git a/distutils/tests/test_install.py b/distutils/tests/test_install.py index 102218bc..3f525db4 100644 --- a/distutils/tests/test_install.py +++ b/distutils/tests/test_install.py @@ -100,7 +100,7 @@ class TestInstall( 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 diff --git a/distutils/util.py b/distutils/util.py index 8668b436..7ef47176 100644 --- a/distutils/util.py +++ b/distutils/util.py @@ -228,7 +228,7 @@ def _subst_compat(s): import warnings warnings.warn( - "shell/Perl-style substitions are deprecated", + "shell/Perl-style substitutions are deprecated", DeprecationWarning, ) return repl |
