aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornatsuoto <[email protected]>2026-06-30 15:05:47 +0530
committernatsuoto <[email protected]>2026-06-30 15:05:47 +0530
commitf82126cd8fa2b9ae30db6587ec69b090e240c37e (patch)
tree61cf374c46826e8c1f52793f0649142df7d96891
parent7d777f381c2b390440c7d68c470ddd1e3c4a9c22 (diff)
downloadedify-f82126cd8fa2b9ae30db6587ec69b090e240c37e.tar.xz
edify-f82126cd8fa2b9ae30db6587ec69b090e240c37e.zip
fix(ci): drop hatch-vcs version-file generation so check stays clean
`hatch-vcs` was generating `edify/version.py` at every build with an unsorted `__all__`, which `ruff check` (RUF022) flagged on CI. The file is unused — `edify/__init__.py` resolves `__version__` via `importlib.metadata.version("edify")` directly — so dropping the generation entirely is the right move. Removed the corresponding coverage `omit` (no longer needed). Co-Authored-By: Claude Opus 4.7 <[email protected]>
-rw-r--r--pyproject.toml4
1 files changed, 0 insertions, 4 deletions
diff --git a/pyproject.toml b/pyproject.toml
index e48757d..6fb6c03 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -52,9 +52,6 @@ docs = [
[tool.hatch.version]
source = "vcs"
-[tool.hatch.build.hooks.vcs]
-version-file = "edify/version.py"
-
[tool.hatch.build.targets.sdist]
include = [
"/edify",
@@ -109,7 +106,6 @@ filterwarnings = ["error"]
branch = false
source = ["edify"]
parallel = true
-omit = ["edify/version.py"]
[tool.coverage.report]
show_missing = true