fleet-memory/scripts/hooks/lint-python.sh
Nicolò Boschi 9394cf92f2
fix: doc build and lint files (#34)
* fix doc build

* fix doc build
2025-12-16 13:49:09 +01:00

13 lines
241 B
Bash
Executable file

#!/bin/bash
# Lint Python code with Ruff
set -e
REPO_ROOT="$(git rev-parse --show-toplevel)"
cd "$REPO_ROOT/hindsight-api"
echo " Linting Python with Ruff..."
uv run ruff check --fix .
uv run ruff format .
echo " Python lint complete"