run black on generated hooks
This commit is contained in:
parent
402a594c7b
commit
f379167648
@ -27,8 +27,9 @@ PROTODEPS := $(wildcard ../proto/*.proto)
|
|||||||
protoc --proto_path=../proto --python_out=anki --mypy_out=anki $(PROTODEPS)
|
protoc --proto_path=../proto --python_out=anki --mypy_out=anki $(PROTODEPS)
|
||||||
@touch $@
|
@touch $@
|
||||||
|
|
||||||
.build/hooks: tools/genhooks.py
|
.build/hooks: tools/genhooks.py anki/hooks_gen.py
|
||||||
python tools/genhooks.py
|
python tools/genhooks.py
|
||||||
|
black anki/hooks.py
|
||||||
@touch $@
|
@touch $@
|
||||||
|
|
||||||
BUILD_STEPS := .build/run-deps .build/dev-deps .build/py-proto anki/buildinfo.py .build/hooks
|
BUILD_STEPS := .build/run-deps .build/dev-deps .build/py-proto anki/buildinfo.py .build/hooks
|
||||||
|
@ -35,8 +35,9 @@ TSDEPS := $(wildcard ts/src/*.ts)
|
|||||||
(cd ts && npm i && npm run build)
|
(cd ts && npm i && npm run build)
|
||||||
@touch $@
|
@touch $@
|
||||||
|
|
||||||
.build/hooks: tools/genhooks.py
|
.build/hooks: tools/genhooks.py ../pylib/anki/hooks_gen.py
|
||||||
python tools/genhooks.py
|
python tools/genhooks.py
|
||||||
|
black aqt/gui_hooks.py
|
||||||
@touch $@
|
@touch $@
|
||||||
|
|
||||||
BUILD_STEPS := .build/run-deps .build/dev-deps .build/js .build/ui aqt/buildinfo.py .build/hooks .build/i18n
|
BUILD_STEPS := .build/run-deps .build/dev-deps .build/js .build/ui aqt/buildinfo.py .build/hooks .build/i18n
|
||||||
|
Loading…
Reference in New Issue
Block a user