diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2d4fb040..50c55e14 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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: - repo: https://github.com/pre-commit/pre-commit-hooks diff --git a/.prettierignore b/.prettierignore index 65a4cf3d..45869137 100644 --- a/.prettierignore +++ b/.prettierignore @@ -6,6 +6,7 @@ *.yml **/lnbits/extensions/* +**/lnbits/upgrades/* **/lnbits/static/vendor **/lnbits/static/bundle.* diff --git a/pyproject.toml b/pyproject.toml index 033082ca..02a9c049 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -66,6 +66,7 @@ include = [ exclude = [ "lnbits/wallets/lnd_grpc_files", "lnbits/extensions", + "lnbits/upgrades", ] [tool.mypy] @@ -128,6 +129,7 @@ enable = [ [tool.pylint.MASTER] ignore-paths = [ "^lnbits/extensions/.*$", + "^lnbits/upgrades/.*$", "^lnbits/wallets/lnd_grpc_files/.*$", ] fail-under = 10.0