From 046c0104e441f3e2181cacac0577c25d271ef1e9 Mon Sep 17 00:00:00 2001 From: Kevin Kirsche Date: Wed, 27 Jul 2022 21:23:37 -0400 Subject: [PATCH] Fix todo in setuptools.command.test (#8416) With https://github.com/python/mypy/pull/10884 merged and released, this should be safe to re-enable per the todo comment. https://github.com/pypa/setuptools/blob/main/setuptools/command/test.py#L117 --- stubs/setuptools/setuptools/command/test.pyi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stubs/setuptools/setuptools/command/test.pyi b/stubs/setuptools/setuptools/command/test.pyi index a905fc1c5..2e11178b6 100644 --- a/stubs/setuptools/setuptools/command/test.pyi +++ b/stubs/setuptools/setuptools/command/test.pyi @@ -29,8 +29,8 @@ class test(Command): test_runner: Any def initialize_options(self) -> None: ... def finalize_options(self) -> None: ... - # TODO: uncomment once https://github.com/python/mypy/pull/10884 is released - # def test_args(self): ... + @NonDataProperty + def test_args(self) -> list[str]: ... def with_project_on_sys_path(self, func) -> None: ... def project_on_sys_path(self, include_dists=...): ... @staticmethod