Sourced from coverage's changelog.
Version 7.5.1 — 2024-05-04
Fix: a pragma comment on the continuation lines of a multi-line statement now excludes the statement and its body, the same as if the pragma is on the first line. This closes
issue 754
. The fix was contributed byDaniel Diniz <pull 1773_>
.Fix: very complex source files like
this one <resolvent_lookup_>
_ could cause a maximum recursion error when creating an HTML report. This is now fixed, closingissue 1774
_.HTML report improvements:
Support files (JavaScript and CSS) referenced by the HTML report now have hashes added to their names to ensure updated files are used instead of stale cached copies.
Missing branch coverage explanations that said "the condition was never false" now read "the condition was always true" because it's easier to understand.
Column sort order is remembered better as you move between the index pages, fixing
issue 1766
. Thanks,Daniel Diniz <pull 1768_>
... _resolvent_lookup: https://github.com/sympy/sympy/blob/130950f3e6b3f97fcc17f4599ac08f70fdd2e9d4/sympy/polys/numberfields/resolvent_lookup.py .. _issue 754: nedbat/coveragepy#754 .. _issue 1766: nedbat/coveragepy#1766 .. _pull 1768: nedbat/coveragepy#1768 .. _pull 1773: nedbat/coveragepy#1773 .. _issue 1774: nedbat/coveragepy#1774
.. _changes_7-5-0:
be938ea
docs: sample HTML for 7.5.102c66d7
docs: prep for 7.5.15fa9f67
fix: avoid max recursion errors in ast code. #177434af01d
build: easier to run metasmoke on desired python version6b0cac5
perf: cache _human_key to speed html report by about 10%fdc0ee8
docs: oops, typo60e6cb4
docs: changelog for #754 and #1773277c8c4
fix: '# pragma: no branch' in multiline if statements. #754 (#1773)34d3eb7
docs: update changelog for #1786. Thanks, Daniel Diniz2bb5ef2
fix(html): make HTML column sorting consistent across index pages (fix #1766)...