Closed edublancas closed 1 year ago
since we closed #60, let's work on this one
Acceptance criteria:
__version__
string not present, raise click.ClickException
: Please add version string in <version_file_path> , e.g., __version__ = '0.1dev'
.pyproject.toml
and otherwise.@edublancas Is the AC looking ok?
If version file is empty or version string not present, raise click.ClickException : Please add version string in
, e.g., version = '0.1dev'.
here we can do something more generic, there's a function that parses the version value. if such function fails, we can raise an error and tell the user how the format should be
the rest looks good
Yes I have added generic parsing for raising the error in the PR
once we finish #60
version_file
is an empty file, the error is unclear: