1
mirror of https://github.com/home-assistant/core synced 2024-08-02 23:40:32 +02:00
ha-core/script/check_format
Ville Skyttä 6b22dbcd0b Blacken top level *.py (#25621)
* Blacken top level *.py

* Tolerate double quotes too in setup.py dependency extraction
2019-08-01 08:30:49 -07:00

11 lines
139 B
Bash
Executable File

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