You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rely on hatchling's default version-source settings
[tool.hatch.version] only needs the path — source = 'regex' is the
default, and hatch's default pattern matches plain __version__ = "…"
assignments. Drop the type annotation from __version__ in _version.py
(keep them on __commit__ / __branch__ where they still convey useful
optionality) so the default pattern matches. Update the publish
workflow to emit the same unannotated __version__ line.
0 commit comments