home-assistant-core/script/check_format
Aarni Koskela 706add4a57
Switch formatting from black to ruff-format (#102893)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-11-27 14:38:59 +01:00

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