hass.tibber_prices/scripts/lint
2025-11-03 15:54:01 +00:00

17 lines
282 B
Bash
Executable file

#!/bin/sh
# script/lint: Run linting tools and apply formatting
set -e
cd "$(dirname "$0")/.."
echo "==> Running linting tools..."
echo "==> Running Ruff format..."
uv run ruff format .
echo "==> Running Ruff check..."
uv run ruff check . --fix
echo "==> Linting completed!"