fix: exclude .venv and .cache from source distribution

This commit is contained in:
2026-02-04 01:13:34 +00:00
parent 3e026866cb
commit c966fdfe21

View File

@@ -53,6 +53,17 @@ build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["fastapi_traffic"]
[tool.hatch.build.targets.sdist]
exclude = [
".venv",
".cache",
".pytest_cache",
".ruff_cache",
".qodo",
".vscode",
"*.db",
]
[tool.ruff]
target-version = "py310"
line-length = 88