Commit d3f105a
committed
feat: add commit_id to version type stub
Add `commit_id` and `__commit_id__` fields to the `_version.pyi` type stub. This aligns the template with metadata provided by VCS-based versioning tools like `hatch-vcs` and `setuptools-scm`, enabling type-safe access to the repository commit hash.1 parent 2351043 commit d3f105a
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
| 9 | + | |
7 | 10 | | |
8 | 11 | | |
0 commit comments