mirror of
https://github.com/jpawlowski/hass.tibber_prices.git
synced 2026-03-29 21:03:40 +00:00
17 lines
282 B
Bash
Executable file
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!"
|