add flake8 and pylint as dev dependencies

This commit is contained in:
Pavol Rusnak 2023-01-20 10:43:16 +00:00
parent 52e654af86
commit c8efe41e1a
No known key found for this signature in database
GPG key ID: 91F3B339B9A02A3D
4 changed files with 318 additions and 8 deletions

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