From ff9288976898ecb62a3468b1cdc36b4c9a69a900 Mon Sep 17 00:00:00 2001 From: Sam Andrello Date: Thu, 20 Jun 2024 15:13:18 -0400 Subject: [PATCH] Add exclude --- {{ cookiecutter.repo_name }}/pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/{{ cookiecutter.repo_name }}/pyproject.toml b/{{ cookiecutter.repo_name }}/pyproject.toml index d5ebbbe..d742186 100644 --- a/{{ cookiecutter.repo_name }}/pyproject.toml +++ b/{{ cookiecutter.repo_name }}/pyproject.toml @@ -46,7 +46,7 @@ dirty_template = "{tag}" [tool.setuptools.packages.find] where = ["src"] # list of folders that contain the packages (["."] by default) include = ["*"] # package names should match these glob patterns (["*"] by default) -exclude = [] # exclude packages matching these glob patterns (empty by default) +exclude = ["{{ cookiecutter.project_name }}.tests*"] # exclude packages matching these glob patterns (empty by default) namespaces = false # to disable scanning PEP 420 namespaces (true by default) [tool.black]