From 9cf43dcea15ac4e1754f641cc96cd8bbd541dd97 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Fri, 17 Mar 2023 18:05:43 +0100 Subject: [PATCH] simplify exclude syntax for mypy in pyproject.toml --- pyproject.toml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 621fa3cc..492e0c45 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 = [