build(deps): bump coverage from 5.3.1 to 7.2.1
Bumps coverage from 5.3.1 to 7.2.1.
Release notes
Sourced from coverage's releases.
coverage-5.6b1
- Third-party packages are now ignored in coverage reporting. This solves a few problems:
- The HTML report uses j/k to move up and down among the highlighted chunks of code. They used to highlight the current chunk, but 5.0 broke that behavior. Now the highlighting is working again.
- The JSON report now includes
percent_covered_display, a string with the total percentage, rounded to the same number of decimal places as the other reports’ totals.coverage-5.5
coverage combinehas a new option,--keepto keep the original data files after combining them. The default is still to delete the files after they have been combined. This was requested in issue 1108 and implemented in pull request 1110. Thanks, Éric Larivière.- When reporting missing branches in
coverage report, branches aren’t reported that jump to missing lines. This adds to the long-standing behavior of not reporting branches from missing lines. Now branches are only reported if both the source and destination lines are executed. Closes both issue 1065 and issue 955.- Minor improvements to the HTML report:
- The state of the line visibility selector buttons is saved in local storage so you don’t have to fiddle with them so often, fixing issue 1123.
- It has a little more room for line numbers so that 4-digit numbers work well, fixing issue 1124.
- Improved the error message when combining line and branch data, so that users will be more likely to understand what’s happening, closing issue 803.
coverage-5.4
- The text report produced by
coverage reportnow always outputs a TOTAL line, even if only one Python file is reported. This makes regex parsing of the output easier. Thanks, Judson Neer. This had been requested a number of times (issue 1086, issue 922, issue 732).- The
skip_coveredandskip_emptysettings in the configuration file can now be specified in the[html]section, so that text reports and HTML reports can use separate settings. The HTML report will still use the[report]settings if there isn’t a value in the[html]section. Closes issue 1090.- Combining files on Windows across drives now works properly, fixing issue 577. Thanks, Valentin Lab.
- Fix an obscure warning from deep in the _decimal module, as reported in issue 1084.
- Update to support Python 3.10 alphas in progress, including PEP 626: Precise line numbers for debugging and other tools.
Changelog
Sourced from coverage's changelog.
Version 7.2.1 — 2023-02-26
Fix: the PyPI page had broken links to documentation pages, but no longer does, closing
issue 1566_.Fix: public members of the coverage module are now properly indicated so that mypy will find them, fixing
issue 1564_... _issue 1564: nedbat/coveragepy#1564 .. _issue 1566: nedbat/coveragepy#1566
.. _changes_7-2-0:
Version 7.2.0 — 2023-02-22
Added a new setting
[report] exclude_alsoto let you add more exclusions without overwriting the defaults. Thanks,Alpha Chen <pull 1557_>, closingissue 1391.Added a :meth:
.CoverageData.purge_filesmethod to remove recorded data for a particular file. Contributed byStephan Deibel <pull 1547_>_.Fix: when reporting commands fail, they will no longer congratulate themselves with messages like "Wrote XML report to file.xml" before spewing a traceback about their failure.
Fix: arguments in the public API that name file paths now accept pathlib.Path objects. This includes the
data_fileandconfig_filearguments to the Coverage constructor and thebasenameargument to CoverageData. Closesissue 1552_.Fix: In some embedded environments, an IndexError could occur on stop() when the originating thread exits before completion. This is now fixed, thanks to
Russell Keith-Magee <pull 1543_>, closingissue 1542.Added a
py.typedfile to announce our type-hintedness. Thanks,KotlinIsland <pull 1550_>_... _issue 1391: nedbat/coveragepy#1391 .. _issue 1542: nedbat/coveragepy#1542 .. _pull 1543: nedbat/coveragepy#1543 .. _pull 1547: nedbat/coveragepy#1547 .. _pull 1550: nedbat/coveragepy#1550 .. _issue 1552: nedbat/coveragepy#1552 .. _pull 1557: nedbat/coveragepy#1557
... (truncated)
Commits
9fcf1d6docs: sample html for 7.2.1795a56adocs: prep for 7.2.1fe807dbdocs: build steps need to make a release-prep branch soonerc3a3421fix: export our public names for type checking. #1564f217d0drefactor: remove unneeded pydoc weirdness857833efix: always use full-version rtfd links #15662f81370fix(docs): wrong link syntax808daeachore: make upgradee2e9d6ebuild: bump versionb14e7f4docs: latest sample html report- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)