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:
Pavol Rusnak
2023-01-23 10:29:17 +01:00
committed by GitHub
parent 9693e5932b
commit a089188664
14 changed files with 82 additions and 49 deletions
+3
View File
@@ -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 .