From 7fd7db9cd12d59f7c523dc2a1a167f7445e5b2f3 Mon Sep 17 00:00:00 2001 From: Simeon Simeonov Date: Mon, 4 May 2026 18:38:58 +0200 Subject: Add support for the %e{key} format and add support for type checkers (ty) --- pyproject.toml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'pyproject.toml') diff --git a/pyproject.toml b/pyproject.toml index e44adbb..4f7a722 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -28,6 +28,14 @@ dependencies = [ ] +[dependency-groups] +dev = [ + "pytest>=6", + "ruff>=0.15.0", + "ty>=0.0.31", +] + + [project.scripts] etoolkit = "etoolkit.__main__:main" @@ -42,6 +50,7 @@ Changelog = "https://codeberg.org/sgs/etoolkit/src/branch/master/CHANGELOG.md" [tool.pytest.ini_options] minversion = "6.0" addopts = "-s" +cache_dir = "~/.cache/pytest_cache" testpaths = [ "tests" ] @@ -54,6 +63,11 @@ pythonpath = [ version = {attr = "etoolkit.__version__"} +[tool.ty.environment] +python-version = "3.10" +root = ["./src"] + + [build-system] requires = [ "setuptools >= 77.0.3", -- cgit v1.3