mirror of
https://github.com/lnbits/lnbits.git
synced 2025-09-26 20:06:17 +02:00
fix pyright in Makefile, add pyright+pylint+flake8 to check target
Co-authored-by: dni ⚡ <office@dnilabs.com>
This commit is contained in:
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 .
|
||||
|
Reference in New Issue
Block a user