add pyright to the project (#1367)
* add pyright to project + bump prettier to latest * reformat to match the latest prettier rules
This commit is contained in:
parent
9693e5932b
commit
a089188664
14 changed files with 82 additions and 49 deletions
3
Makefile
3
Makefile
|
|
@ -9,6 +9,9 @@ check: mypy checkprettier checkisort checkblack
|
|||
prettier: $(shell find lnbits -name "*.js" -o -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 lnbits/extensions/*/static/components/*/*.js lnbits/extensions/*/static/components/*/*.html
|
||||
|
||||
pyright:
|
||||
./node_modules/.bin/pyright
|
||||
|
||||
black:
|
||||
poetry run black .
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue