From 6d80fcb873fc1a09738d52635d6a8d8e4592d598 Mon Sep 17 00:00:00 2001 From: Ivan Habunek Date: Tue, 29 Jul 2025 09:19:26 +0200 Subject: [PATCH] Move dev and test deps to dependency-groups This makes more sense since they're not dependencies of toot and only used in development/testing. --- pyproject.toml | 43 ++++++++++++++++++++++--------------------- 1 file changed, 22 insertions(+), 21 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 6103cb9..e97d4fc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -35,27 +35,6 @@ images = [ "term-image>=0.7.2", ] -test = [ - "flake8", - "pytest", - "pytest-xdist[psutil]", - "setuptools", - "vermin", - "typing-extensions", - "pillow>=9.5.0", -] - -dev = [ - "build", - "flake8", - "mypy", - "pyright", - "pyyaml", - "twine", - "types-beautifulsoup4", - "vermin", -] - [project.urls] "Homepage" = "https://toot.bezdomni.net" "Source" = "https://github.com/ihabunek/toot/" @@ -76,3 +55,25 @@ packages=[ [tool.pyright] pythonVersion = "3.8" + +[dependency-groups] +test = [ + "flake8", + "pytest", + "pytest-xdist[psutil]", + "setuptools", + "vermin", + "typing-extensions", + "pillow>=9.5.0", +] + +dev = [ + "build", + "flake8", + "mypy", + "pyright", + "pyyaml", + "twine", + "types-beautifulsoup4", + "vermin", +]