2018-10-15 18:25:57 +02:00
|
|
|
#!/usr/bin/env sh
|
2018-10-15 18:20:35 +02:00
|
|
|
|
2018-10-15 18:25:57 +02:00
|
|
|
if which black; then
|
2018-10-15 18:20:35 +02:00
|
|
|
black --skip-string-normalization --line-length 100 --check .
|
2018-10-15 18:25:57 +02:00
|
|
|
else
|
|
|
|
echo "Skipping black due to not being installed."
|
2018-10-15 18:20:35 +02:00
|
|
|
fi
|