From fc7779e19834815cd368b716db7b0b4c169621fc Mon Sep 17 00:00:00 2001 From: gabrieldemarmiesse Date: Tue, 19 Nov 2024 18:10:30 +0000 Subject: [PATCH] Add pytest to dev dependencies Signed-off-by: gabrieldemarmiesse --- pyproject.toml | 4 +--- uv.lock | 12 +++++------- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index fad3e3f6..ca8e15ce 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,11 +17,9 @@ dependencies = { file = ["requirements.txt"] } [dependency-groups] dev = [ "ruff>=0.5.6", + "pytest" ] -[project.optional-dependencies] -test = ["pytest"] - [project.urls] "Source" = "https://github.com/gabrieldemarmiesse/python-on-whales" "Documentation" = "https://gabrieldemarmiesse.github.io/python-on-whales/" diff --git a/uv.lock b/uv.lock index 35bc3332..27bcea99 100644 --- a/uv.lock +++ b/uv.lock @@ -201,25 +201,23 @@ dependencies = [ { name = "typing-extensions" }, ] -[package.optional-dependencies] -test = [ - { name = "pytest" }, -] - [package.dev-dependencies] dev = [ + { name = "pytest" }, { name = "ruff" }, ] [package.metadata] requires-dist = [ { name = "pydantic", specifier = "!=2.0.*,>=2,<3" }, - { name = "pytest", marker = "extra == 'test'" }, { name = "typing-extensions" }, ] [package.metadata.requires-dev] -dev = [{ name = "ruff", specifier = ">=0.5.6" }] +dev = [ + { name = "pytest" }, + { name = "ruff", specifier = ">=0.5.6" }, +] [[package]] name = "ruff"