core/script/check_format

11 lines
144 B
Bash
Executable File

#!/bin/sh
# Format code with ruff-format.
cd "$(dirname "$0")/.."
ruff \
format \
--check \
--quiet \
homeassistant tests script *.py