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

15 lines
264 B
Bash
Executable file

#!/bin/sh
# script/lint-check: Check linting without making changes.
set -e
cd "$(dirname "$0")/.."
echo "==> Checking code format..."
uv run ruff format . --check
echo "==> Checking code with Ruff..."
uv run ruff check .
echo "==> Linting check completed!"