Pycobertura

Latest version: v3.3.2

Safety actively analyzes 681844 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 7

3.2.1

* Make `ZipFileSystem` read files in text mode to fix diffing mixed file
systems. Thanks ernestask
* Add Python 3.11 as a supported version. Thanks ernestask

3.2.0

* `pycobertura diff` now supports output format: `github-annotation`. Thanks
goatwu1993

3.1.0

* `pycobertura show` now supports output format: `github-annotation`. Thanks
goatwu1993

3.0.0

* BACKWARD INCOMPATIBLE:
* Deprecate Python3.5 and 3.6, support Python 3.7 onwards (see
python_requires, classifiers in `setup.cfg`)
* Update tests to Python 3.7 through 3.9 (affects `tox.ini` and `.travis.yml`)
* Migrate to `setup.cfg` and `pyproject.toml`; empty `setup.py` kept for
compatibility reasons
* Update `release.sh` script
* Address markdown lint in `README.md`
* Do not use `object` in class inheritance as this is default behaviour in
Python3
* Move formatting in `reporters.py` into `Reporter` and `DeltaReporter` base
classes to have a uniform formatting: new `stringify` in `utils.py` method
and corresponding test in `test_stringify.py`. The subclasses and only
inherit from these two base classes to ensure a consistent formatting across
the reporters
* Change datastructure of coverage information from `namedtuple` (immutable)
to `dictionary` (mutable) in `reporters.py`. Adjusted `html-delta.jinja2`,
`html.jinja2` and `filters.py` accordingly. This change in datastructure
leads to a more compact and more readable code
* Only uncovered lines are reported in `Missing` column (instead of
additionally reporting newly covered lines)
* Coverage diff for new files now make the assumption that "previous files"
were covered at 100% and will no longer show an empty value represented by
a dash "-".

Thanks gro1m

* Fix handling of multiple classes in same file - thanks to smortvedt, gro1m
* Replace Travis-ci with Github Actions. We were having issues with Travis
pipeline not triggering because of quota issues.
* Changes in Cobertura class. All `"./packages//class"` elements extracted at
once now, and this leads to significant speedup. Thanks oev81
* Changes in setup.cfg related to package data. Remove
`include_package_data=True`, because it requires `MANIFEST.in` and add
`[options.package_data]` instead. This change makes the package installing
from archive not miss `*.css` and `*.jinja2` files. Thanks oev81
* Add option `--ignore-regex` to ignore some files using either a Python regex
pattern or a path to a `.gitignore` file. Thanks gro1m
* `pycobertura show` and `pycobertura diff` now support output formats:
`json`, `markdown`, `csv`, and `yaml`. Thanks gro1m

2.1.0

* Added the option `show_missing` to `HtmlReporterDelta`, which specifies
whether or not the "Missing" column is displayed in the generated
summary table. Thanks loganharbour

2.0.1

* Drop the `colorama` dependency in favor of hardcoded ANSI escape codes.
Thanks luislew

Page 2 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.