Skip to content

🐍 Geometric Computer Vision Library for Spatial AI

corrects lint command for pixi (#3615)

Siddcc6c9020f792
diff --git a/pixi.toml b/pixi.toml
index 4c333a5c1..cc250887a 100644
--- a/pixi.toml
+++ b/pixi.toml
@@ -45,7 +45,7 @@ test-slow = { cmd = "uv run pytest -v tests/", env = { KORNIA_TEST_RUNSLOW = "tr
test-quick = { cmd = "uv run pytest -v -m 'not (jit or grad or nn)' tests/" }
test-module = { cmd = "uv run pytest -v", description = "Run tests for a specific module (usage: pixi run test-module tests/<module_path>, e.g., pixi run test-module tests/contrib/)" }
# Quality
-lint = { cmd = "uv run pre-commit run ruff --all-files" }
+lint = { cmd = "uv run pre-commit run ruff-check --all-files && uv run pre-commit run ruff-format --all-files" }
typecheck = { cmd = "ty check kornia" }
doctest = { cmd = "uv run pytest -v --doctest-modules kornia/" }
toml-fmt = { cmd = "tombi format", description = "Format TOML files" }