Skip to content

perf: index the Clover file lookup instead of rescanning per source path - #618

Merged
Bachmann1234 merged 2 commits into
Bachmann1234:mainfrom
Eljees:perf/clover-file-index
Aug 16, 2026
Merged

Bachmann1234 merged 2 commits into
Bachmann1234:mainfrom
Eljees:perf/clover-file-index

Conversation

@Eljees

@Eljees Eljees commented Aug 15, 2026

Copy link
Copy Markdown
Contributor

Follow-up to your review on #617 — the second half of what I said I'd send there.

The problem

get_src_path_line_nodes_clover walks xml_document.findall(".//file") on every
call, and it is called once per source path. So a run over N source paths against a
report containing M files does NM element visits and, more expensively, NM
GitPathTool.relative_path calls, each of which normalises a path.

The format detection you flagged was the other half of the same problem and went in
with #617; this is the file lookup itself.

The fix

Build the tables once per report, on first use:

  • by_relative_path — repository-relative path to <file> elements;
  • by_last_segment — final path segment to the candidates for the suffix test.

The match here isn't equality: reports carrying absolute paths resolve through
normalized_file_path.endswith(f"/{src_path}"), which is what makes the
no-path-attribute PHPUnit reports resolve at all. A suffix can only match when the
last path segment matches, so grouping candidates by that segment keeps the fallback
O(few) rather than O(all files), and the common case O(1).

Both tables store each element's document position, so matches come back in document
order exactly as the linear walk produced them.

Checks

  • test_file_lookup_is_built_once counts GitPathTool.relative_path calls: 3 files
    against 3 source paths made 9 calls before and 3 after. Reverting only the
    source file fails it with 9 == 3, so the test pins this change rather than passing
    incidentally.
  • test_absolute_paths_still_match_by_suffix covers two files that share a last
    segment under different directories, plus a path that must not match. It passes both
    before and after — that is the point, the matching semantics are unchanged.
  • Full suite: 382 passed before, 384 after, no failures.
  • black --check ., isort --check . and doc8 README.rst --ignore D001 are clean.
  • diff-quality --violations pylint and --violations flake8 over this diff:
    100%, 0 violations across 95 changed lines.

Two things worth flagging

get_src_path_line_nodes_clover becomes an instance method taking the report index,
matching get_src_path_line_nodes_cobertura. It reads like a public name, so if you'd
rather keep a static shim for compatibility, say so and I'll add one.

This also takes the module from 979 to 1019 lines, so pylint's too-many-lines (limit
1000) now fires at module level. It's advisory in CI and doesn't land on a changed
line, but if you'd prefer, the Clover helpers are a clean candidate for their own
module and I'm happy to do that instead.

`get_src_path_line_nodes_clover` walked every `.//file` in the report on
every call, and it is called once per source path, so N source paths against
a report of M files did N*M element visits and N*M `relative_path` calls.

Build the lookup once per report: a map from repository-relative path, plus
a map from the last path segment for the suffix match that absolute-path
reports rely on. Both store document position, so matches are still returned
in document order.

Follow-up to the review on Bachmann1234#617.
@Bachmann1234

Copy link
Copy Markdown
Owner

This is looking good, but yeah, if you can cleanly separate the clover helpers that would be nice

Adding the index in this branch took violations_reporter.py to 1019 lines,
past pylint's too-many-lines limit of 1000. The lookup is self-contained, so
it moves to violationsreporters/clover.py as CloverFileIndex, and the module
is back to 958 lines.

XmlCoverageReporter keeps the per-report cache and builds the index on first
use, so the dispatch in _cache_file and the signature of
get_src_path_line_nodes_clover are unchanged.

The moved code resolves GitPathTool in its own module, so the Clover tests
patch it there. Skipping a <file> element that carries neither path nor name
had no test of its own; it has one now.

Requested in review on Bachmann1234#618.
@Eljees

Eljees commented Aug 15, 2026

Copy link
Copy Markdown
Contributor Author

Done in 90823f0. The lookup now lives in diff_cover/violationsreporters/clover.py as CloverFileIndex, and violations_reporter.py is back to 958 lines, under the 1000 that this branch had pushed it past.

XmlCoverageReporter keeps the per-report cache and builds the index on first use, so _cache_file and the signature of get_src_path_line_nodes_clover are unchanged.

The moved code resolves GitPathTool in its own module, so the Clover tests patch it there. One branch came across without a test of its own — a <file> element carrying neither path nor name — so I added test_file_without_a_path_is_skipped; it fails with a TypeError if the guard is dropped. 385 tests pass, black --check, isort --check and doc8 are clean, and diff-cover over the diff reports 100%.

@Bachmann1234

Copy link
Copy Markdown
Owner

Thanks! Ill release this shortly

@Bachmann1234
Bachmann1234 merged commit 46e8b53 into Bachmann1234:main Aug 16, 2026
14 checks passed
@Bachmann1234

Copy link
Copy Markdown
Owner

renovate Bot added a commit to MartinBernstorff/Memium that referenced this pull request Oct 27, 2026
This PR contains the following updates:

| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [diff-cover](https://redirect.github.com/Bachmann1234/diff-cover) |
`==10.0.0` → `==11.0.0` |
![age](https://developer.mend.io/api/mc/badges/age/pypi/diff-cover/11.0.0?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/diff-cover/10.0.0/11.0.0?slim=true)
|

---

### Release Notes

<details>
<summary>Bachmann1234/diff-cover (diff-cover)</summary>

###
[`v11.0.0`](https://redirect.github.com/Bachmann1234/diff_cover/releases/tag/v11.0.0):
Version 11.0.0

[Compare
Source](https://redirect.github.com/Bachmann1234/diff-cover/compare/v10.6.0...v11.0.0)

#### What's Changed

- fix(exclude): match a pattern against the path, not only against its
basename by [@&#8203;Eljees](https://redirect.github.com/Eljees) in
[Bachmann1234/diff_cover#636](https://redirect.github.com/Bachmann1234/diff_cover/pull/636)
- fix(snippets): number terminal snippets from their first line by
[@&#8203;Eljees](https://redirect.github.com/Eljees) in
[Bachmann1234/diff_cover#637](https://redirect.github.com/Bachmann1234/diff_cover/pull/637)
- Drop python 3.10, add python 3.15 by
[@&#8203;Bachmann1234](https://redirect.github.com/Bachmann1234) in
[Bachmann1234/diff_cover#645](https://redirect.github.com/Bachmann1234/diff_cover/pull/645)
- Split quoted `--options` with shlex by
[@&#8203;Don-Yin](https://redirect.github.com/Don-Yin) in
[Bachmann1234/diff_cover#646](https://redirect.github.com/Bachmann1234/diff_cover/pull/646)

##### Dependency Bumps

- Bump astral-sh/setup-uv from 10.1.0 to 10.2.0 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#638](https://redirect.github.com/Bachmann1234/diff_cover/pull/638)
- Bump github/codeql-action from 4.38.0 to 4.38.2 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#639](https://redirect.github.com/Bachmann1234/diff_cover/pull/639)
- Bump ruff from 0.16.8 to 0.16.9 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#643](https://redirect.github.com/Bachmann1234/diff_cover/pull/643)
- Bump pylint from 4.0.8 to 4.0.9 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#641](https://redirect.github.com/Bachmann1234/diff_cover/pull/641)
- Bump pytest-mock from 3.15.1 to 3.16.0 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#640](https://redirect.github.com/Bachmann1234/diff_cover/pull/640)
- Bump pyflakes from 3.4.0 to 4.0.0 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#642](https://redirect.github.com/Bachmann1234/diff_cover/pull/642)

#### New Contributors

- [@&#8203;Don-Yin](https://redirect.github.com/Don-Yin) made their
first contribution in
[Bachmann1234/diff_cover#646](https://redirect.github.com/Bachmann1234/diff_cover/pull/646)

**Full Changelog**:
<Bachmann1234/diff_cover@v10.6.0...v11.0.0>

###
[`v10.6.0`](https://redirect.github.com/Bachmann1234/diff_cover/releases/tag/v10.6.0):
Version 10.6.0

[Compare
Source](https://redirect.github.com/Bachmann1234/diff-cover/compare/v10.5.1...v10.6.0)

#### What's Changed

- refactor: harmonize linters to use ruff as the sole linter and
formatter by
[@&#8203;philipp-horstenkamp](https://redirect.github.com/philipp-horstenkamp)
in
[Bachmann1234/diff_cover#630](https://redirect.github.com/Bachmann1234/diff_cover/pull/630)
- Switch over to uv by
[@&#8203;Bachmann1234](https://redirect.github.com/Bachmann1234) in
[Bachmann1234/diff_cover#631](https://redirect.github.com/Bachmann1234/diff_cover/pull/631)
- Trying to avoid re-locking by
[@&#8203;Bachmann1234](https://redirect.github.com/Bachmann1234) in
[Bachmann1234/diff_cover#633](https://redirect.github.com/Bachmann1234/diff_cover/pull/633)
- Add --minimum-change feature flag to diff-cover and diff-quality by
[@&#8203;philipp-horstenkamp](https://redirect.github.com/philipp-horstenkamp)
in
[Bachmann1234/diff_cover#628](https://redirect.github.com/Bachmann1234/diff_cover/pull/628),
[Bachmann1234/diff_cover#635](https://redirect.github.com/Bachmann1234/diff_cover/pull/635)

##### Dependency bumps

- Bump ruff from 0.16.0 to 0.16.5 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#621](https://redirect.github.com/Bachmann1234/diff_cover/pull/621)
- Bump isort from 8.0.1 to 9.0.1 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#622](https://redirect.github.com/Bachmann1234/diff_cover/pull/622)
- Bump github/codeql-action from 4.37.3 to 4.37.9 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#623](https://redirect.github.com/Bachmann1234/diff_cover/pull/623)
- Bump chardet from 7.4.3 to 7.6.0 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#624](https://redirect.github.com/Bachmann1234/diff_cover/pull/624)
- Bump pylint from 4.0.6 to 4.0.8 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#626](https://redirect.github.com/Bachmann1234/diff_cover/pull/626)
- Bump pygments from 2.20.0 to 2.21.0 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#625](https://redirect.github.com/Bachmann1234/diff_cover/pull/625)
- Bump github/codeql-action from 4.37.9 to 4.38.0 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#632](https://redirect.github.com/Bachmann1234/diff_cover/pull/632)

#### New Contributors

-
[@&#8203;philipp-horstenkamp](https://redirect.github.com/philipp-horstenkamp)
made their first contribution in
[Bachmann1234/diff_cover#630](https://redirect.github.com/Bachmann1234/diff_cover/pull/630)

**Full Changelog**:
<Bachmann1234/diff_cover@v10.5.1...v10.6.0>

###
[`v10.5.1`](https://redirect.github.com/Bachmann1234/diff_cover/releases/tag/v10.5.1):
Vesion 10.5.1

[Compare
Source](https://redirect.github.com/Bachmann1234/diff-cover/compare/v10.5.0...v10.5.1)

#### What's Changed

- perf: index the Clover file lookup instead of rescanning per source
path by [@&#8203;Eljees](https://redirect.github.com/Eljees) in
[Bachmann1234/diff_cover#618](https://redirect.github.com/Bachmann1234/diff_cover/pull/618)
- fix: report a missing git instead of an unhandled FileNotFoundError by
[@&#8203;Eljees](https://redirect.github.com/Eljees) in
[Bachmann1234/diff_cover#620](https://redirect.github.com/Bachmann1234/diff_cover/pull/620)

**Full Changelog**:
<Bachmann1234/diff_cover@v10.5.0...v10.5.1>

###
[`v10.5.0`](https://redirect.github.com/Bachmann1234/diff_cover/releases/tag/v10.5.0):
Version 10.5.0

[Compare
Source](https://redirect.github.com/Bachmann1234/diff-cover/compare/v10.4.2...v10.5.0)

#### What's Changed

- Support PHPUnit clover reports (silently reported as zero coverage) by
[@&#8203;Eljees](https://redirect.github.com/Eljees) in
[Bachmann1234/diff_cover#617](https://redirect.github.com/Bachmann1234/diff_cover/pull/617)

#### New Contributors

- [@&#8203;Eljees](https://redirect.github.com/Eljees) made their first
contribution in
[Bachmann1234/diff_cover#617](https://redirect.github.com/Bachmann1234/diff_cover/pull/617)

**Full Changelog**:
<Bachmann1234/diff_cover@v10.4.2...v10.5.0>

###
[`v10.4.2`](https://redirect.github.com/Bachmann1234/diff_cover/releases/tag/v10.4.2):
Version 10.4.2

[Compare
Source](https://redirect.github.com/Bachmann1234/diff-cover/compare/v10.4.1...v10.4.2)

#### What's Changed

- fix(config): honor format option from config file by
[@&#8203;Sanjays2402](https://redirect.github.com/Sanjays2402) in
[Bachmann1234/diff_cover#612](https://redirect.github.com/Bachmann1234/diff_cover/pull/612)
- fix(plugins): accept reports/options in diff_cover_report_quality
hookspec by
[@&#8203;Sanjays2402](https://redirect.github.com/Sanjays2402) in
[Bachmann1234/diff_cover#613](https://redirect.github.com/Bachmann1234/diff_cover/pull/613)

#### New Contributors

- [@&#8203;Sanjays2402](https://redirect.github.com/Sanjays2402) made
their first contribution in
[Bachmann1234/diff_cover#612](https://redirect.github.com/Bachmann1234/diff_cover/pull/612)

#### Dependencies

- Bump github/codeql-action from 4 to 4.37.3 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#616](https://redirect.github.com/Bachmann1234/diff_cover/pull/616)
- Bump ruff from 0.15.20 to 0.16.0 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#615](https://redirect.github.com/Bachmann1234/diff_cover/pull/615)
- Bump actions/setup-python from 6 to 7 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#614](https://redirect.github.com/Bachmann1234/diff_cover/pull/614)

**Full Changelog**:
<Bachmann1234/diff_cover@v10.4.1...v10.4.2>

###
[`v10.4.1`](https://redirect.github.com/Bachmann1234/diff_cover/releases/tag/v10.4.1):
Version 10.4.1

[Compare
Source](https://redirect.github.com/Bachmann1234/diff-cover/compare/v10.4.0...v10.4.1)

#### What's Changed

- Handle low confidence chardet detection for undeclared encodings by
[@&#8203;Bachmann1234](https://redirect.github.com/Bachmann1234) in
[Bachmann1234/diff_cover#611](https://redirect.github.com/Bachmann1234/diff_cover/pull/611)

#### Dependencies

- Bump setuptools from 80.9.0 to 83.0.0 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#609](https://redirect.github.com/Bachmann1234/diff_cover/pull/609)

**Full Changelog**:
<Bachmann1234/diff_cover@v10.4.0...v10.4.1>

###
[`v10.4.0`](https://redirect.github.com/Bachmann1234/diff_cover/releases/tag/v10.4.0):
Version 10.4.0

[Compare
Source](https://redirect.github.com/Bachmann1234/diff-cover/compare/v10.3.0...v10.4.0)

#### What's Changed

- Add --branch-coverage flag to respect partial branch coverage by
[@&#8203;mofr](https://redirect.github.com/mofr) in
[Bachmann1234/diff_cover#608](https://redirect.github.com/Bachmann1234/diff_cover/pull/608)

#### Dependency bumps

- Bump ruff from 0.15.12 to 0.15.15 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#602](https://redirect.github.com/Bachmann1234/diff_cover/pull/602)
- Bump black from 26.3.1 to 26.5.1 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#603](https://redirect.github.com/Bachmann1234/diff_cover/pull/603)
- Bump actions/cache from 5 to 6 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#604](https://redirect.github.com/Bachmann1234/diff_cover/pull/604)
- Bump actions/checkout from 6 to 7 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#605](https://redirect.github.com/Bachmann1234/diff_cover/pull/605)
- Bump ruff from 0.15.15 to 0.15.20 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#606](https://redirect.github.com/Bachmann1234/diff_cover/pull/606)
- Bump pylint from 4.0.5 to 4.0.6 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#607](https://redirect.github.com/Bachmann1234/diff_cover/pull/607)

#### New Contributors

- [@&#8203;mofr](https://redirect.github.com/mofr) made their first
contribution in
[Bachmann1234/diff_cover#608](https://redirect.github.com/Bachmann1234/diff_cover/pull/608)

**Full Changelog**:
<Bachmann1234/diff_cover@v10.3.0...v10.4.0>

###
[`v10.3.0`](https://redirect.github.com/Bachmann1234/diff_cover/releases/tag/v10.3.0):
Version 10.3.0

[Compare
Source](https://redirect.github.com/Bachmann1234/diff-cover/compare/v10.2.1...v10.3.0)

#### What's Changed

- Add --show-covered flag to highlight covered diff lines in HTML report
by [@&#8203;duxiaocheng](https://redirect.github.com/duxiaocheng) in
[Bachmann1234/diff_cover#600](https://redirect.github.com/Bachmann1234/diff_cover/pull/600)
- Document previously undocumented CLI flags in README by
[@&#8203;Bachmann1234](https://redirect.github.com/Bachmann1234) in
[Bachmann1234/diff_cover#601](https://redirect.github.com/Bachmann1234/diff_cover/pull/601)

**Full Changelog**:
<Bachmann1234/diff_cover@v10.2.1...v10.3.0>

###
[`v10.2.1`](https://redirect.github.com/Bachmann1234/diff_cover/releases/tag/v10.2.1):
Version 10.2.1

[Compare
Source](https://redirect.github.com/Bachmann1234/diff-cover/compare/v10.2.0...v10.2.1)

#### What's Changed

- Fix --help hiding most CLI options in diff-cover/diff-quality by
[@&#8203;duxiaocheng](https://redirect.github.com/duxiaocheng) in
[Bachmann1234/diff_cover#599](https://redirect.github.com/Bachmann1234/diff_cover/pull/599)

#### New Contributors

- [@&#8203;duxiaocheng](https://redirect.github.com/duxiaocheng) made
their first contribution in
[Bachmann1234/diff_cover#599](https://redirect.github.com/Bachmann1234/diff_cover/pull/599)

#### Dependency bumps

- Bump tomli from 2.3.0 to 2.4.0 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#575](https://redirect.github.com/Bachmann1234/diff_cover/pull/575)
- Bump ruff from 0.14.10 to 0.14.14 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#576](https://redirect.github.com/Bachmann1234/diff_cover/pull/576)
- Bump isort from 6.1.0 to 7.0.0 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#577](https://redirect.github.com/Bachmann1234/diff_cover/pull/577)
- Update black to 26.1 by
[@&#8203;Bachmann1234](https://redirect.github.com/Bachmann1234) in
[Bachmann1234/diff_cover#579](https://redirect.github.com/Bachmann1234/diff_cover/pull/579)
- Bump actions/download-artifact from 7 to 8 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#582](https://redirect.github.com/Bachmann1234/diff_cover/pull/582)
- Bump actions/upload-artifact from 6 to 7 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#583](https://redirect.github.com/Bachmann1234/diff_cover/pull/583)
- Bump chardet from 5.2.0 to 6.0.0.post1 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#584](https://redirect.github.com/Bachmann1234/diff_cover/pull/584)
- Bump isort from 7.0.0 to 8.0.1 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#585](https://redirect.github.com/Bachmann1234/diff_cover/pull/585)
- Bump pylint from 4.0.4 to 4.0.5 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#586](https://redirect.github.com/Bachmann1234/diff_cover/pull/586)
- Bump ruff from 0.14.14 to 0.15.4 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#587](https://redirect.github.com/Bachmann1234/diff_cover/pull/587)
- Bump black from 26.1.0 to 26.3.1 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#589](https://redirect.github.com/Bachmann1234/diff_cover/pull/589)
- Bump pygments from 2.19.2 to 2.20.0 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#591](https://redirect.github.com/Bachmann1234/diff_cover/pull/591)
- Bump geekyeggo/delete-artifact from 5 to 6 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#592](https://redirect.github.com/Bachmann1234/diff_cover/pull/592)
- Bump ruff from 0.15.4 to 0.15.8 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#593](https://redirect.github.com/Bachmann1234/diff_cover/pull/593)
- Bump tomli from 2.4.0 to 2.4.1 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#594](https://redirect.github.com/Bachmann1234/diff_cover/pull/594)
- Bump pytest-cov from 7.0.0 to 7.1.0 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#596](https://redirect.github.com/Bachmann1234/diff_cover/pull/596)
- Bump ruff from 0.15.8 to 0.15.12 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#598](https://redirect.github.com/Bachmann1234/diff_cover/pull/598)

**Full Changelog**:
<Bachmann1234/diff_cover@v10.2.0...v10.2.1>

###
[`v10.2.0`](https://redirect.github.com/Bachmann1234/diff_cover/releases/tag/v10.2.0):
Version 10.2.0

[Compare
Source](https://redirect.github.com/Bachmann1234/diff-cover/compare/v10.1.0...v10.2.0)

#### What's Changed

- Convert violation to relative path for subfolder support by
[@&#8203;eacherkan-via](https://redirect.github.com/eacherkan-via) in
[Bachmann1234/diff_cover#574](https://redirect.github.com/Bachmann1234/diff_cover/pull/574)

#### Dependency Bumps

- Bump actions/download-artifact from 6 to 7 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#566](https://redirect.github.com/Bachmann1234/diff_cover/pull/566)
- Bump actions/cache from 4 to 5 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#567](https://redirect.github.com/Bachmann1234/diff_cover/pull/567)
- Bump actions/upload-artifact from 5 to 6 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#568](https://redirect.github.com/Bachmann1234/diff_cover/pull/568)
- Bump doc8 from 1.1.2 to 2.0.0 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#569](https://redirect.github.com/Bachmann1234/diff_cover/pull/569)
- Bump pylint from 3.3.9 to 4.0.4 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#570](https://redirect.github.com/Bachmann1234/diff_cover/pull/570)
- Bump ruff from 0.14.7 to 0.14.10 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#571](https://redirect.github.com/Bachmann1234/diff_cover/pull/571)
- Bump black from 25.11.0 to 25.12.0 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#572](https://redirect.github.com/Bachmann1234/diff_cover/pull/572)

#### New Contributors

- [@&#8203;eacherkan-via](https://redirect.github.com/eacherkan-via)
made their first contribution in
[Bachmann1234/diff_cover#574](https://redirect.github.com/Bachmann1234/diff_cover/pull/574)

**Full Changelog**:
<Bachmann1234/diff_cover@v10.1.0...v10.2.0>

###
[`v10.1.0`](https://redirect.github.com/Bachmann1234/diff_cover/releases/tag/v10.1.0):
Version 10.1.0

[Compare
Source](https://redirect.github.com/Bachmann1234/diff-cover/compare/v10.0.0...v10.1.0)

#### What's Changed

- Update required Python to >=3.10 by
[@&#8203;nicoddemus](https://redirect.github.com/nicoddemus) in
[Bachmann1234/diff_cover#563](https://redirect.github.com/Bachmann1234/diff_cover/pull/563)
- Fix installation command formatting in README by
[@&#8203;jlosito](https://redirect.github.com/jlosito) in
[Bachmann1234/diff_cover#564](https://redirect.github.com/Bachmann1234/diff_cover/pull/564)
- Add support for floating-point total percentage in reports by
[@&#8203;tilaven](https://redirect.github.com/tilaven) in
[Bachmann1234/diff_cover#565](https://redirect.github.com/Bachmann1234/diff_cover/pull/565)

#### New Contributors

- [@&#8203;jlosito](https://redirect.github.com/jlosito) made their
first contribution in
[Bachmann1234/diff_cover#564](https://redirect.github.com/Bachmann1234/diff_cover/pull/564)
- [@&#8203;tilaven](https://redirect.github.com/tilaven) made their
first contribution in
[Bachmann1234/diff_cover#565](https://redirect.github.com/Bachmann1234/diff_cover/pull/565)

**Full Changelog**:
<Bachmann1234/diff_cover@v10.0.0...v10.1.0>

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/MartinBernstorff/Memium).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xODQuMSIsInVwZGF0ZWRJblZlciI6IjQ0LjE4NC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants