python-genbadge icon indicating copy to clipboard operation
python-genbadge copied to clipboard

Fix branch coverage rate comparison when used with `--branch` without actual branches

Open marcegeek opened this issue 1 year ago • 0 comments

When --branch option is set but there are no branches coverage.xml will contain 0 branches (branches-valid="0" and branches-covered="0") but have branch-rate="1". Fixes #23

marcegeek avatar Aug 18 '24 06:08 marcegeek