Pycobertura

Latest version: v3.3.2

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

Scan your dependencies

Page 5 of 7

0.7.3

* a non-zero exit code will be returned if not all changes have been covered. If
`--no-source` is provided then it will only check if coverage has worsened,
which is less strict.

0.7.2

* memoize expensive methods of `Cobertura` (lxml/disk)
* assume source code is UTF-8

0.7.1

* prevent misalignment of source code and line numbers, this would happen when
the source is too long causing it to wrap around.

0.7.0

* pycobertura diff now renders colors in terminal with Python 2.x (worked for
Python 3.x). For this to work we need to require Click 4.0 so that the color
auto-detection of Click can be overridden (not possible in Click 3.0)
* Introduce `Line` namedtuple object which represents a line of source code and
coverage status.
* *BACKWARDS INCOMPATIBLE*: List of tuples generated or handled by various
function now return `Line` objects (namedtuple) for each line.
* add plus sign (+) in front of lines that were added/modified on HTML diff
report
* upgrade to Skeleton 2.0.4 (88f03612b05f093e3f235ced77cf89d3a8fcf846)
* add legend to HTML diff report

0.6.0

* expose `CoberturaDiff` under the pycobertura namespace
* pycobertura diff no longer reports unchanged classes

0.5.2

* fix incorrect "TOTAL" row counts of the diff command when classes were added
or removed from the second report.

Page 5 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.