From 94bb1fd9894ab3e0b8742983fbe6aa2240e54438 Mon Sep 17 00:00:00 2001 From: wpbonelli Date: Tue, 10 Dec 2024 21:06:33 -0500 Subject: [PATCH] revert pyproject changes --- pyproject.toml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 6039a98..532158f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -51,13 +51,7 @@ dynamic = ["version"] [project.optional-dependencies] dev = ["flopy4[lint,test,build]"] -build = [ - "build", - "twine", -] -lint = [ - "ruff" -] +lint = ["ruff"] test = [ "flopy4[lint]", "coverage", @@ -72,6 +66,7 @@ test = [ "pytest-dotenv", "pytest-xdist", ] +build = ["build", "twine"] [tool.setuptools] include-package-data = true @@ -139,7 +134,11 @@ test312 = { features = ["py312", "test"], solve-group = "py312" } test313 = { features = ["py313", "test"], solve-group = "py313" } dev = { features = ["py313", "test", "lint", "build"], solve-group = "py313" } -[tool.pixi.feature.dev.tasks] +[tool.pixi.feature.build.tasks] build = { cmd = "python -m build" } -lint = { cmd = "ruff check ." } + +[tool.pixi.feature.test.tasks] test = { cmd = "pytest -v -n auto" } + +[tool.pixi.feature.lint.tasks] +lint = { cmd = "ruff check ." }