summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>2022-11-20 14:02:50 +0100
committerDimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>2023-02-06 18:54:15 +0100
commite32c71f38d6faf95c8241f4bfe4b6abf06a2ded9 (patch)
tree39489c7dda8f49324e1a06a184cf2759817f45ee
parentfb2a173bcd783040a36ca20c41b967f0673c56a3 (diff)
downloadpython-setuptools-git-e32c71f38d6faf95c8241f4bfe4b6abf06a2ded9.tar.gz
Fix typos found by codespell
-rw-r--r--distutils/cygwinccompiler.py2
-rw-r--r--distutils/tests/test_build_ext.py2
-rw-r--r--distutils/tests/test_install.py2
-rw-r--r--distutils/util.py2
4 files changed, 4 insertions, 4 deletions
diff --git a/distutils/cygwinccompiler.py b/distutils/cygwinccompiler.py
index 6230bdc4..3125d9dc 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