From 804d16ff3baf4517d4c4c74d894c85bc93a82b0b Mon Sep 17 00:00:00 2001 From: ento Date: Sun, 15 Oct 2023 23:51:03 -0800 Subject: [PATCH] Fix missing type annotations --- tests/utils/test_setup_reader.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/utils/test_setup_reader.py b/tests/utils/test_setup_reader.py index 6d10fee918c..cd75aa3eaa8 100644 --- a/tests/utils/test_setup_reader.py +++ b/tests/utils/test_setup_reader.py @@ -28,8 +28,8 @@ def test_setup_reader_read_minimal_setup_py(setup: Callable[[str], Path]) -> Non expected_name = None expected_version = None expected_description = None - expected_install_requires = [] - expected_extras_require = {} + expected_install_requires: list[str] = [] + expected_extras_require: dict[str, list[str]] = {} expected_python_requires = None assert result["name"] == expected_name @@ -160,8 +160,8 @@ def test_setup_reader_read_minimal_setup_cfg(setup: Callable[[str], Path]) -> No expected_name = None expected_version = None expected_description = None - expected_install_requires = [] - expected_extras_require = {} + expected_install_requires: list[str] = [] + expected_extras_require: dict[str, list[str]] = {} expected_python_requires = None assert result["name"] == expected_name