Skip to content

Commit

Permalink
FEAT: ignore extensions for checks, linting, prettier (lnbits#1617)
Browse files Browse the repository at this point in the history
  • Loading branch information
dni authored Apr 13, 2023
1 parent 95a718c commit cf3b169
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@

*.yml

**/lnbits/extensions/*

**/lnbits/static/vendor
**/lnbits/static/bundle.*
**/lnbits/static/css/*
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ enable = [

[tool.pylint.MASTER]
ignore-paths = [
"^lnbits/extensions/.*$",
"^lnbits/wallets/lnd_grpc_files/.*$",
]
fail-under = 10.0
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -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,
Expand Down

0 comments on commit cf3b169

Please sign in to comment.