From cf3b1694803e016a39649348334118b794941467 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?dni=20=E2=9A=A1?= Date: Thu, 13 Apr 2023 07:57:14 +0200 Subject: [PATCH] FEAT: ignore extensions for checks, linting, prettier (#1617) --- .prettierignore | 2 ++ pyproject.toml | 1 + setup.cfg | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.prettierignore b/.prettierignore index 2844476d4..65a4cf3dd 100644 --- a/.prettierignore +++ b/.prettierignore @@ -5,6 +5,8 @@ *.yml +**/lnbits/extensions/* + **/lnbits/static/vendor **/lnbits/static/bundle.* **/lnbits/static/css/* diff --git a/pyproject.toml b/pyproject.toml index 37692c6bb..76c6be104 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -131,6 +131,7 @@ enable = [ [tool.pylint.MASTER] ignore-paths = [ + "^lnbits/extensions/.*$", "^lnbits/wallets/lnd_grpc_files/.*$", ] fail-under = 10.0 diff --git a/setup.cfg b/setup.cfg index cdd94f566..fada0c129 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [flake8] max-line-length = 300 -exclude = lnbits/wallets/lnd_grpc_files/ +exclude = lnbits/wallets/lnd_grpc_files/, lnbits/extensions/ ignore = # E203 whitespace before ':' E203,