add flake8 and pylint as dev dependencies

This commit is contained in:
Pavol Rusnak
2023-01-30 11:46:43 +00:00
parent 52e654af86
commit c8efe41e1a
4 changed files with 318 additions and 8 deletions
+6
View File
@@ -15,12 +15,18 @@ pyright:
black:
poetry run black .
flake8:
poetry run flake8
mypy:
poetry run mypy
isort:
poetry run isort .
pylint:
poetry run pylint *.py lnbits/ tools/ tests/
checkprettier: $(shell find lnbits -name "*.js" -o -name ".html")
./node_modules/.bin/prettier --check 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