From c966fdfe211e7d29080e6c6db06be7cb752c3c32 Mon Sep 17 00:00:00 2001 From: zanewalker Date: Wed, 4 Feb 2026 01:13:34 +0000 Subject: [PATCH] fix: exclude .venv and .cache from source distribution --- pyproject.toml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index c04e6f2..fefc7a7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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