From 8a3d2500913bf60798f27130f8d881c0caef5c8a Mon Sep 17 00:00:00 2001 From: Spill-Tea Date: Mon, 20 Oct 2025 15:05:46 -0700 Subject: [PATCH] fix(pyproject): Remove deprecated mypy option, adn separate pre-commit into an independent optional dependency. --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index c13dd30..76cb59c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -33,7 +33,8 @@ exclude = ["benchmarks", "docs", "tests"] "*" = ["py.typed", "*.pyi"] [project.optional-dependencies] -dev = ["PyTemplate[doc,test,lint,type]", "tox", "pre-commit"] +dev = ["PyTemplate[doc,test,lint,type,commit]", "tox"] +commit = ["pre-commit"] doc = ["sphinx", "furo", "sphinx_multiversion"] test = ["pytest", "coverage", "pytest-xdist"] lint = ["pylint", "ruff"] @@ -64,7 +65,6 @@ exclude_also = ["def __repr__", 'if __name__ == "__main__"'] mypy_path = "PyTemplate" warn_unused_ignores = true allow_redefinition = false -force_uppercase_builtins = true [tool.pylint.main] # extension-pkg-whitelist = []