mypy on Makefile and apply prettier.

This commit is contained in:
fiatjaf 2020-08-29 14:10:26 -03:00
parent 479760c5a5
commit 79d5befe0c
12 changed files with 686 additions and 527 deletions

View file

@ -1,2 +1,5 @@
prettier:
./node_modules/.bin/prettier --write lnbits/static/js/** lnbits/core/static/js/** lnbits/extensions/*/templates/**
prettier: $(shell find lnbits -name "*.js" -name ".html")
./node_modules/.bin/prettier --write lnbits/static/js/*.js lnbits/core/static/js/*.js lnbits/extensions/*/templates/*/*.html ./lnbits/core/templates/core/*.html lnbits/templates/*.html lnbits/extensions/*/static/js/*.js
mypy: $(shell find lnbits -name "*.py")
mypy lnbits