From 66e9b05ac240dbbff91e09eeafbcc9590c9ecc97 Mon Sep 17 00:00:00 2001 From: Emily KL <4672118+emilykl@users.noreply.github.com> Date: Wed, 4 Jun 2025 19:34:41 -0400 Subject: [PATCH] fix black exclude parameter in pyproject.toml to properly exclude ONLY directories --- pyproject.toml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 660d938fa5..426d98306f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -70,8 +70,7 @@ line-length = 88 target_version = ['py38', 'py39', 'py310', 'py311', 'py312'] include = '\.pyi?$' exclude = ''' - -( +/( \.eggs # exclude a few common directories in the | \.git # root of the project | \.hg @@ -85,7 +84,7 @@ exclude = ''' | js | submodules | plotly/matplotlylib/mplexporter -) +)/ ''' [tool.jupyter-packaging.builder]