Skip to content

add coverage-conditional, rejig some config stuff#356

Merged
Zac-HD merged 2 commits intopython-trio:mainfrom
jakkdl:coverage_conditional_plugin
Mar 4, 2025
Merged

add coverage-conditional, rejig some config stuff#356
Zac-HD merged 2 commits intopython-trio:mainfrom
jakkdl:coverage_conditional_plugin

Conversation

@jakkdl
Copy link
Copy Markdown
Member

@jakkdl jakkdl commented Mar 4, 2025

fixes #332 - though in hindsight we barely have any version-specific code so this PR mostly just fiddles around with various config stuff

found a couple pragma no-cover/branch that weren't needed, and realized --per-file-disable added in #348 never got any tests at all, so will have to do a followup PR on that

big warning for anybody considering coverage-conditional-plugin: the example in their readme is completely backwards wemake-services/coverage-conditional-plugin#227

@Zac-HD Zac-HD merged commit 895c550 into python-trio:main Mar 4, 2025
11 checks passed
@jakkdl jakkdl deleted the coverage_conditional_plugin branch March 5, 2025 10:52
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.

Use coverage-conditional-plugin for version/platform-specific coverage pragma

2 participants