mirror of
https://github.com/jpawlowski/hass.tibber_prices.git
synced 2026-03-29 21:03:40 +00:00
fix linter
This commit is contained in:
parent
6d4669c8e7
commit
0a245a0e12
2 changed files with 8 additions and 0 deletions
|
|
@ -6,6 +6,10 @@ set -e
|
||||||
|
|
||||||
cd "$(dirname "$0")/.."
|
cd "$(dirname "$0")/.."
|
||||||
|
|
||||||
|
if [ -z "$VIRTUAL_ENV" ]; then
|
||||||
|
. "$HOME/.venv/bin/activate"
|
||||||
|
fi
|
||||||
|
|
||||||
echo "==> Running linting tools..."
|
echo "==> Running linting tools..."
|
||||||
|
|
||||||
echo "==> Running Ruff format..."
|
echo "==> Running Ruff format..."
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,10 @@ set -e
|
||||||
|
|
||||||
cd "$(dirname "$0")/.."
|
cd "$(dirname "$0")/.."
|
||||||
|
|
||||||
|
if [ -z "$VIRTUAL_ENV" ]; then
|
||||||
|
. "$HOME/.venv/bin/activate"
|
||||||
|
fi
|
||||||
|
|
||||||
echo "==> Checking code format..."
|
echo "==> Checking code format..."
|
||||||
uv run ruff format . --check
|
uv run ruff format . --check
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue