From dd96c2c2dd81f7e7d07d7e301ca37f6be4d0011d Mon Sep 17 00:00:00 2001 From: Brad Keryan Date: Fri, 30 Jun 2023 11:29:09 -0500 Subject: [PATCH] pyproject.toml: Fix `black` excludes (#428) `black` and `ni-python-styleguide` have different formats for `extend_exclude`: - `black` uses a single regex - `ni-python-styleguide` uses a comma-separated list of `fnmatch` patterns See https://github.com/ni/python-styleguide/issues/134 for more info. Signed-off-by: Brad Keryan --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index bdbf69e1..76fd4449 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -81,7 +81,7 @@ tox = [ [tool.black] line-length = 100 -extend_exclude = ".tox,docs,generated,src/codegen/metadata,src/codegen/templates" +extend_exclude = ".tox/|docs/|generated/|src/codegen/metadata/|src/codegen/templates/|src/handwritten/" [tool.ni-python-styleguide] extend_exclude = ".tox,docs,generated,src/codegen/metadata,src/codegen/templates,src/handwritten"