Add Black
This commit is contained in:
+1
-1
@@ -7,4 +7,4 @@ set -e
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
echo "Installing test dependencies..."
|
||||
python3 -m pip install tox colorlog
|
||||
python3 -m pip install tox colorlog pre-commit
|
||||
|
||||
Executable
+10
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
# Format code with black.
|
||||
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
black \
|
||||
--check \
|
||||
--fast \
|
||||
--quiet \
|
||||
homeassistant tests script
|
||||
@@ -7,4 +7,5 @@ set -e
|
||||
cd "$(dirname "$0")/.."
|
||||
script/bootstrap
|
||||
|
||||
pre-commit install
|
||||
pip3 install -e .
|
||||
|
||||
Reference in New Issue
Block a user