Closed sdruskat closed 8 months ago
---------- coverage: platform linux, python 3.10.6-final-0 -----------
Name Stmts Miss Branch BrPart Cover
-----------------------------------------------------------------------------------------
src/hermes/__init__.py 0 0 0 0 100%
src/hermes/__main__.py 3 0 2 0 100%
src/hermes/cli.py 90 4 24 2 93%
src/hermes/commands/__init__.py 0 0 0 0 100%
src/hermes/commands/deposit/__init__.py 0 0 0 0 100%
src/hermes/commands/deposit/error.py 2 0 0 0 100%
src/hermes/commands/deposit/file.py 14 14 2 0 0%
src/hermes/commands/deposit/invenio.py 242 170 94 2 28%
src/hermes/commands/deposit/invenio_rdm.py 267 267 106 0 0%
src/hermes/commands/harvest/__init__.py 0 0 0 0 100%
src/hermes/commands/harvest/cff.py 74 4 24 6 90%
src/hermes/commands/harvest/codemeta.py 33 9 10 0 70%
src/hermes/commands/harvest/git.py 172 44 90 16 66%
src/hermes/commands/harvest/util/__init__.py 7 0 2 0 100%
src/hermes/commands/harvest/util/validate_codemeta.py 31 7 12 3 67%
src/hermes/commands/postprocess/__init__.py 0 0 0 0 100%
src/hermes/commands/postprocess/invenio.py 29 29 6 0 0%
src/hermes/commands/postprocess/invenio_rdm.py 15 15 2 0 0%
src/hermes/commands/process/__init__.py 0 0 0 0 100%
src/hermes/commands/process/cff.py 12 12 4 0 0%
src/hermes/commands/process/git.py 37 0 4 0 100%
src/hermes/commands/workflow.py 163 72 53 6 54%
src/hermes/config.py 46 8 20 4 79%
src/hermes/error.py 2 0 0 0 100%
src/hermes/model/__init__.py 0 0 0 0 100%
src/hermes/model/context.py 196 26 83 14 82%
src/hermes/model/errors.py 11 5 0 0 55%
src/hermes/model/merge.py 107 41 75 17 51%
src/hermes/model/path.py 216 39 115 21 76%
src/hermes/utils.py 6 0 0 0 100%
-----------------------------------------------------------------------------------------
TOTAL 1775 766 728 91 53%
Coverage HTML written to dir htmlcov
@poikilotherm Feel free to fix the Sphinx build. Ideally in a branch off this one.
@zyzzyxdonta @led02 @poikilotherm @SKernchen Should we bump the Python requirement down to >= 3.8 at this stage already, as discussed with the somesy project?
Python 3.8 is not an option yet or did you already adapt the match
statements?
If our goal is to get this release done, I think Python 3.8 it can wait until hermes 1.0 😁 There are a number of things that need changing. E.g. type annotations using list
and dict
, certain string functions weren't available then, etc. We should take our time and set up the CI and static code analysis to find all problems rather than rushing it now.
Prepares the 0.9.0 release to push to PyPI, following the docs.
TODO
Python >= 3.8
for this release (as discussed with somesy)