diff --git a/Makefile b/Makefile index 5bdbc9480..c3f4de567 100644 --- a/Makefile +++ b/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 .