FEAT: ignore extensions for checks, linting, prettier (#1617)
This commit is contained in:
parent
95a718c6c0
commit
cf3b169480
3 changed files with 4 additions and 1 deletions
|
|
@ -5,6 +5,8 @@
|
||||||
|
|
||||||
*.yml
|
*.yml
|
||||||
|
|
||||||
|
**/lnbits/extensions/*
|
||||||
|
|
||||||
**/lnbits/static/vendor
|
**/lnbits/static/vendor
|
||||||
**/lnbits/static/bundle.*
|
**/lnbits/static/bundle.*
|
||||||
**/lnbits/static/css/*
|
**/lnbits/static/css/*
|
||||||
|
|
|
||||||
|
|
@ -131,6 +131,7 @@ enable = [
|
||||||
|
|
||||||
[tool.pylint.MASTER]
|
[tool.pylint.MASTER]
|
||||||
ignore-paths = [
|
ignore-paths = [
|
||||||
|
"^lnbits/extensions/.*$",
|
||||||
"^lnbits/wallets/lnd_grpc_files/.*$",
|
"^lnbits/wallets/lnd_grpc_files/.*$",
|
||||||
]
|
]
|
||||||
fail-under = 10.0
|
fail-under = 10.0
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[flake8]
|
[flake8]
|
||||||
max-line-length = 300
|
max-line-length = 300
|
||||||
exclude = lnbits/wallets/lnd_grpc_files/
|
exclude = lnbits/wallets/lnd_grpc_files/, lnbits/extensions/
|
||||||
ignore =
|
ignore =
|
||||||
# E203 whitespace before ':'
|
# E203 whitespace before ':'
|
||||||
E203,
|
E203,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue