simplify exclude syntax for mypy in pyproject.toml

This commit is contained in:
Pavol Rusnak 2023-03-17 18:05:43 +01:00
parent 4dd206da2a
commit 9cf43dcea1
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -77,10 +77,10 @@ exclude = [
[tool.mypy]
files = "lnbits"
exclude = """(?x)(
^lnbits/wallets/lnd_grpc_files.
| ^lnbits/extensions.
)"""
exclude = [
"^lnbits/wallets/lnd_grpc_files",
"^lnbits/extensions",
]
[[tool.mypy.overrides]]
module = [