mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2024-11-19 09:54:21 +01:00
ignore upgrades dir in linters and formatters and precommit (#1783)
This commit is contained in:
parent
be7c589722
commit
9a0878de19
@ -1,4 +1,4 @@
|
|||||||
exclude: '^lnbits/static/bundle.*|^docs/.*|^lnbits/static/vendor/.*|^lnbits/extensions/.*|^lnbits/wallets/lnd_grpc_files/.*|^package-lock.json$'
|
exclude: '^lnbits/static/bundle.*|^docs/.*|^lnbits/static/vendor/.*|^lnbits/extensions/.*|^lnbits/upgrades/.*|^lnbits/wallets/lnd_grpc_files/.*|^package-lock.json$'
|
||||||
|
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
*.yml
|
*.yml
|
||||||
|
|
||||||
**/lnbits/extensions/*
|
**/lnbits/extensions/*
|
||||||
|
**/lnbits/upgrades/*
|
||||||
|
|
||||||
**/lnbits/static/vendor
|
**/lnbits/static/vendor
|
||||||
**/lnbits/static/bundle.*
|
**/lnbits/static/bundle.*
|
||||||
|
@ -66,6 +66,7 @@ include = [
|
|||||||
exclude = [
|
exclude = [
|
||||||
"lnbits/wallets/lnd_grpc_files",
|
"lnbits/wallets/lnd_grpc_files",
|
||||||
"lnbits/extensions",
|
"lnbits/extensions",
|
||||||
|
"lnbits/upgrades",
|
||||||
]
|
]
|
||||||
|
|
||||||
[tool.mypy]
|
[tool.mypy]
|
||||||
@ -128,6 +129,7 @@ enable = [
|
|||||||
[tool.pylint.MASTER]
|
[tool.pylint.MASTER]
|
||||||
ignore-paths = [
|
ignore-paths = [
|
||||||
"^lnbits/extensions/.*$",
|
"^lnbits/extensions/.*$",
|
||||||
|
"^lnbits/upgrades/.*$",
|
||||||
"^lnbits/wallets/lnd_grpc_files/.*$",
|
"^lnbits/wallets/lnd_grpc_files/.*$",
|
||||||
]
|
]
|
||||||
fail-under = 10.0
|
fail-under = 10.0
|
||||||
|
Loading…
Reference in New Issue
Block a user