Fix: install black in assert-no-changes.sh #224

Closed
loewy wants to merge 1 commits from loewy/add-pip-black-install-to-assert-no-changes into master
Showing only changes of commit 272e754510 - Show all commits

View File

@@ -9,6 +9,7 @@ for proto in $(find ./rbproto -iname '*.proto'); do
protoc -I=./rbproto --python_out=./rbproto/python --pyi_out=./rbproto/python ./rbproto/shot.proto protoc -I=./rbproto --python_out=./rbproto/python --pyi_out=./rbproto/python ./rbproto/shot.proto
yarn pbjs ./rbproto/shot.proto --ts ./rbproto/ts/shot.ts yarn pbjs ./rbproto/shot.proto --ts ./rbproto/ts/shot.ts
done done
pip install black >/dev/null 2>&1 || true
black rbproto/python black rbproto/python
prettier ./rbproto --write prettier ./rbproto --write