Skip to content

Commit a42b4fd

Browse files
committed
Use include list instead of exclude list
1 parent 73b2d2c commit a42b4fd

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,20 @@ dev = [
3030
requires = ["hatchling"]
3131
build-backend = "hatchling.build"
3232

33+
[tool.hatch.build.targets.sdist]
34+
include = ["l9format/", "LICENSE", "README.md", "pyproject.toml"]
35+
36+
[tool.check-sdist]
37+
git-only = [
38+
"tests/",
39+
"CHANGELOG.md",
40+
"Makefile",
41+
".editorconfig",
42+
]
43+
44+
[tool.hatch.build.targets.wheel]
45+
include = ["l9format/"]
46+
3347
[tool.ruff]
3448
line-length = 80
3549

0 commit comments

Comments
 (0)