fix pyright in Makefile, add pyright+pylint+flake8 to check target
Co-authored-by: dni ⚡ <office@dnilabs.com>
This commit is contained in:
parent
b8a5cc60b8
commit
09eab69e12
4
Makefile
4
Makefile
|
@ -4,13 +4,13 @@ all: format check requirements.txt
|
|||
|
||||
format: prettier isort black
|
||||
|
||||
check: mypy checkprettier checkisort checkblack
|
||||
check: mypy pyright checkprettier checkisort checkblack pylint flake8
|
||||
|
||||
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
|
||||
poetry run ./node_modules/.bin/pyright
|
||||
|
||||
black:
|
||||
poetry run black .
|
||||
|
|
Loading…
Reference in New Issue
Block a user