python-genbadge
python-genbadge copied to clipboard
ValueError: Computed branch rate (0) is different from the one in the file (1.0)
It seems that when absolutely no branches are present in the considered code, this error is raised.
See https://github.com/smarie/python-m5p/runs/5978906964?check_suite_focus=true#step:8:150