From d6cc7ad33b10c25baecc2ef362280b30e0900920 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Wed, 22 May 2024 12:41:10 +0200 Subject: [PATCH] Fix a couple typos found by codespell --- pytest.ini | 2 +- setuptools/config/setupcfg.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pytest.ini b/pytest.ini index 0c9651d96f..57ab865366 100644 --- a/pytest.ini +++ b/pytest.ini @@ -29,7 +29,7 @@ filterwarnings= # realpython/pytest-mypy#152 ignore:'encoding' argument not specified::pytest_mypy - # TODO: Set encoding when openning/writing tmpdir files with pytest's LocalPath.open + # TODO: Set encoding when opening/writing tmpdir files with pytest's LocalPath.open # see pypa/setuptools#4326 ignore:'encoding' argument not specified::_pytest diff --git a/setuptools/config/setupcfg.py b/setuptools/config/setupcfg.py index 2912d3e143..59d9cf8adb 100644 --- a/setuptools/config/setupcfg.py +++ b/setuptools/config/setupcfg.py @@ -108,7 +108,7 @@ def _apply( filenames = [*other_files, filepath] try: - _Distribution.parse_config_files(dist, filenames=filenames) # type: ignore[arg-type] # TODO: fix in disutils stubs + _Distribution.parse_config_files(dist, filenames=filenames) # type: ignore[arg-type] # TODO: fix in distutils stubs handlers = parse_configuration( dist, dist.command_options, ignore_option_errors=ignore_option_errors )