From 8513d29bc8e291948164736b9ee4381d76628e32 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Tue, 10 Sep 2024 14:57:04 +0200 Subject: [PATCH] Fix a couple typos found by codespell --- docs/development/developer-guide.rst | 2 +- mypy.ini | 2 +- setuptools/command/easy_install.py | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/development/developer-guide.rst b/docs/development/developer-guide.rst index a9b3ad3bab..ae1b58f2f5 100644 --- a/docs/development/developer-guide.rst +++ b/docs/development/developer-guide.rst @@ -138,7 +138,7 @@ Code conventions and other practices ------------------------------------ Setuptools utilizes the `skeleton `_ -framework as a foundation for sharing re-usable maintenance tasks +framework as a foundation for sharing reusable maintenance tasks across different projects in the ecosystem. This also means that the project adheres to the same coding conventions diff --git a/mypy.ini b/mypy.ini index 6891d0d2d0..7de7e5a508 100644 --- a/mypy.ini +++ b/mypy.ini @@ -48,7 +48,7 @@ disable_error_code = import-not-found # - jaraco.path: https://github.com/jaraco/jaraco.path/issues/2 # - jaraco.test: https://github.com/jaraco/jaraco.test/issues/7 # - jaraco.text: https://github.com/jaraco/jaraco.text/issues/17 -# - wheel: does not intend on exposing a programatic API https://github.com/pypa/wheel/pull/610#issuecomment-2081687671 +# - wheel: does not intend on exposing a programmatic API https://github.com/pypa/wheel/pull/610#issuecomment-2081687671 [mypy-distutils.*,jaraco.develop,jaraco.envs,jaraco.packaging.*,jaraco.path,jaraco.test.*,jaraco.text,wheel.*] ignore_missing_imports = True diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py index 3f7fc17a88..25a9eee937 100644 --- a/setuptools/command/easy_install.py +++ b/setuptools/command/easy_install.py @@ -2022,11 +2022,11 @@ def is_python_script(script_text, filename): try: from os import ( - chmod as _chmod, # pyright: ignore[reportAssignmentType] # Loosing type-safety w/ pyright, but that's ok + chmod as _chmod, # pyright: ignore[reportAssignmentType] # Losing type-safety w/ pyright, but that's ok ) except ImportError: # Jython compatibility - def _chmod(*args: object, **kwargs: object) -> None: # type: ignore[misc] # Mypy re-uses the imported definition anyway + def _chmod(*args: object, **kwargs: object) -> None: # type: ignore[misc] # Mypy reuses the imported definition anyway pass