RE the version file, I've reverted it back. imho there's no perfect solution, but what we do in NNPDF/nnpdf is to create a fake _version.py at build time, which gets ignored and imported by the real version.py https://github.com/NNPDF/nnpdf/blob/bf9a8ec9ab0cc3a4bb356732efc1c9077983b06d/pyproject.toml#L121
thinking about this perhaps it would be better if pre-commit would ensure that it gets back to 0.0.0? I wonder whether there's a ready made hook for that...
Originally posted by @scarlehoff in #470 (comment)
RE the version file, I've reverted it back. imho there's no perfect solution, but what we do in NNPDF/nnpdf is to create a fake
_version.pyat build time, which gets ignored and imported by the realversion.pyhttps://github.com/NNPDF/nnpdf/blob/bf9a8ec9ab0cc3a4bb356732efc1c9077983b06d/pyproject.toml#L121thinking about this perhaps it would be better if pre-commit would ensure that it gets back to 0.0.0? I wonder whether there's a ready made hook for that...
Originally posted by @scarlehoff in #470 (comment)