From 438f2a93f57e41cd42102718c1ad7ca063794339 Mon Sep 17 00:00:00 2001 From: Adam Ladachowski Date: Tue, 3 Feb 2026 23:07:24 +0100 Subject: [PATCH] Add justfile for dev tasks --- justfile | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 justfile diff --git a/justfile b/justfile new file mode 100644 index 0000000..16ee9b0 --- /dev/null +++ b/justfile @@ -0,0 +1,28 @@ +# Default: run all checks, fixes, and tests +default: fix check test + +# Run all linting and type checks +check: + uv run ruff check . + uv run mypy tensors/ + +# Run tests +test: + uv run pytest + +# Auto-fix linting issues and format code +fix: + uv run ruff check --fix . + uv run ruff format . + +# Format code only +format: + uv run ruff format . + +# Lint only (no fixes) +lint: + uv run ruff check . + +# Type check only +types: + uv run mypy tensors/