hass.tibber_prices/scripts/check

14 lines
212 B
Bash
Executable file

#!/bin/sh
# script/check: Run linting and type checking tools together
set -e
cd "$(dirname "$0")/.."
if [ -z "$VIRTUAL_ENV" ]; then
. "$HOME/.venv/bin/activate"
fi
scripts/type-check
scripts/lint-check