Skip to content

Commit 48e3707

Browse files
authored
Exclude tests folder in sdist (#3631)
1 parent 88f6e92 commit 48e3707

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,10 @@ docs-upload = ["algoliasearch>=4.12.0", "pydantic>=2.10.1"]
129129
bypass-selection = true
130130

131131
[tool.hatch.build.targets.sdist]
132-
include = ["/README.md", "/Makefile", "/tests"]
132+
include = ["/README.md", "/Makefile"]
133+
# We are excluding the tests because we have 100MB of test data in this repository.
134+
# Obviously that's a problem, but for now, we'll just exclude them.
135+
exclude = ["/tests"]
133136

134137
[tool.ruff]
135138
line-length = 120

0 commit comments

Comments
 (0)