From 09eab69e12fa4848f00caa2239b42cc7ec9aa7c2 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Thu, 2 Feb 2023 12:56:10 +0000 Subject: [PATCH] fix pyright in Makefile, add pyright+pylint+flake8 to check target MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: dni ⚡ --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 .