From e4fb2ff355ab932fa19d77475f7e961e99c75790 Mon Sep 17 00:00:00 2001 From: Filippo Luca Ferretti Date: Tue, 10 Dec 2024 10:31:46 +0100 Subject: [PATCH] Add `lint` task to `pixi` --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 783ce8b8f..a5c271c30 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -232,8 +232,9 @@ jaxsim = { path = "./", editable = true } [tool.pixi.feature.test.tasks] pipcheck = "pip check" -test = { cmd = "pytest", depends_on = ["pipcheck"] } benchmark = { cmd = "pytest --benchmark-only", depends_on = ["pipcheck"] } +lint = { cmd = "pre-commit run --all-files --hook-stage=manual" } +test = { cmd = "pytest", depends_on = ["pipcheck"] } [tool.pixi.feature.test.dependencies] black-jupyter = "24.*"