Skip to content

Port coveragerc to pyproject.toml; omit benchmarks from coverage#9771

Open
akx wants to merge 4 commits into
python-pillow:mainfrom
akx:cov
Open

Port coveragerc to pyproject.toml; omit benchmarks from coverage#9771
akx wants to merge 4 commits into
python-pillow:mainfrom
akx:cov

Conversation

@akx

@akx akx commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

As it says in the commits and on the tin; I noticed Codecov (rightly) said benchmarks.py is at zero coverage.

While at it, ported .coveragerc to the pyproject.toml format for one less loose config file in the repo root.

akx added 2 commits July 5, 2026 21:44
It isn't run under coverage testing in CI, so it gives false negatives
@akx akx marked this pull request as ready for review July 5, 2026 18:53

@hugovk hugovk left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Turns out I had a branch to do this earlier this year (except of course not the benchmarks.py bit), but never got round to opening the PR :)

Here's the other things I was going to include.

Comment thread pyproject.toml Outdated
Comment thread pyproject.toml Outdated
Comment thread pyproject.toml
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Comment thread pyproject.toml Outdated
Co-authored-by: Andrew Murray <3112309+radarhere@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.

3 participants