From 48f41cb4ec8a97d24de8e3e3684387c858d75f99 Mon Sep 17 00:00:00 2001 From: tr4nt0r <4445816+tr4nt0r@users.noreply.github.com> Date: Tue, 10 Jun 2025 21:18:24 +0200 Subject: [PATCH] Configure test and lint environments --- pyproject.toml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 7e3f03f..e970698 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,11 +20,15 @@ classifiers = [ dependencies = [ "aiohttp>=3.12.9", "prometheus-client>=0.21.0", + "mashumaro>=3.13.1", ] [project.optional-dependencies] dev = [ "ruff==0.11.13", + "aiohttp==3.12.12", + "prometheus-client==0.22.1", + "mashumaro==3.16", ] [project.urls] @@ -40,8 +44,15 @@ include = [ "/pythonkuma", ] +[tool.hatch.envs.default] +dependencies = [ + "pythonkuma[dev]" +] + [tool.hatch.envs.hatch-static-analysis] -dependencies = ["ruff==0.11.13"] +dependencies = [ + "ruff==0.11.13", +] config-path = "ruff.toml" [tool.pytest.ini_options] @@ -53,5 +64,6 @@ pythonpath = ["pythonkuma"] [tool.hatch.envs.hatch-test] extra-dependencies = [ - "pytest-cov" + "pythonkuma[dev]", + "pytest-cov==6.1.1", ] \ No newline at end of file