mirror of
https://github.com/home-assistant/core.git
synced 2025-07-30 02:38:10 +02:00
Switch formatting from black to ruff-format (#102893)
Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
@ -1,10 +1,10 @@
|
||||
#!/bin/sh
|
||||
# Format code with black.
|
||||
# Format code with ruff-format.
|
||||
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
black \
|
||||
ruff \
|
||||
format \
|
||||
--check \
|
||||
--fast \
|
||||
--quiet \
|
||||
homeassistant tests script *.py
|
||||
|
Reference in New Issue
Block a user