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

A library to generate badges for typical checks (flake8, pytest, coverage, etc.)

Results 11 python-genbadge issues
Sort by recently updated
recently updated
newest added

It would be great if we could leverage the same xml from the pytest report generation to generate the coverage badge without needing to install the coverage module. currently the...

See https://github.com/smarie/python-pytest-cases/pull/299 for an example

See https://github.com/tylerwince/flake8-bandit/issues/21 Today our fix is to add `bandit

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

Added 98 additional flake8stats messages to the test, and updated the test to pass with the new numbers.

Thank you for this excellent tool, which I am using on several projects. When I run _genbadge_ for flake8, I notice two things: * I am using flake8-comments 0.1.2, flake8-type-annotations...

As suggested by @asottile in https://github.com/PyCQA/flake8/issues/1334 Pros: - probably more standard than the `--statistics` output Cons: - requires that users have `flake8-json` installed (additional dependency)

enhancement

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