From e32c71f38d6faf95c8241f4bfe4b6abf06a2ded9 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Sun, 20 Nov 2022 14:02:50 +0100 Subject: Fix typos found by codespell --- distutils/cygwinccompiler.py | 2 +- distutils/tests/test_build_ext.py | 2 +- distutils/tests/test_install.py | 2 +- distutils/util.py | 2 +- 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 -- cgit v1.2.1