1
mirror of https://github.com/home-assistant/core synced 2024-09-28 03:04:04 +02:00
ha-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