From 81dfd0a9effe197a0030659715bb64a2e795de3e Mon Sep 17 00:00:00 2001 From: Avasam Date: Tue, 5 Mar 2024 10:38:32 -0500 Subject: [PATCH] Try re-enabling pytest-enabler.mypy + remove invalid type: ignore comment --- pyproject.toml | 3 --- .../config/_validate_pyproject/fastjsonschema_validations.py | 1 - tox.ini | 2 +- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index cd95aad07f8..58aacd9fe39 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,6 +4,3 @@ build-backend = "setuptools.build_meta" backend-path = ["."] [tool.setuptools_scm] - -[tool.pytest-enabler.mypy] -# disabled diff --git a/setuptools/config/_validate_pyproject/fastjsonschema_validations.py b/setuptools/config/_validate_pyproject/fastjsonschema_validations.py index b81d13c1190..8b852bbfd41 100644 --- a/setuptools/config/_validate_pyproject/fastjsonschema_validations.py +++ b/setuptools/config/_validate_pyproject/fastjsonschema_validations.py @@ -1,5 +1,4 @@ # noqa -# type: ignore # flake8: noqa # pylint: skip-file # mypy: ignore-errors diff --git a/tox.ini b/tox.ini index a18b7979636..2cbff924903 100644 --- a/tox.ini +++ b/tox.ini @@ -7,7 +7,7 @@ setenv = SETUPTOOLS_ENFORCE_DEPRECATION = {env:SETUPTOOLS_ENFORCE_DEPRECATION:0} # ^-- Temporarily disable enforcement so CI don't fail on due dates commands = - pytest --mypy {posargs} + pytest {posargs} usedevelop = True extras = testing