Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add skip_covered to [html] config #1098

Closed
ryboe opened this issue Jan 10, 2021 · 1 comment
Closed

Add skip_covered to [html] config #1098

ryboe opened this issue Jan 10, 2021 · 1 comment
Labels
duplicate This issue or pull request already exists enhancement New feature or request

Comments

@ryboe
Copy link

ryboe commented Jan 10, 2021

Is your feature request related to a problem? Please describe.
We can set skip_covered = true in the [report] section of a config file, but the setting is strangely missing from [html].

Unrecognized option '[tool.coverage.html] skip_covered=' in config file pyproject.toml

Instead, I have to pass it as a flag.

coverage html --skip-covered

Describe the solution you'd like
I'd like to be able to write this in pyproject.toml.

[tool.coverage.html]
skip_covered = true

Describe alternatives you've considered
N/A

Additional context
N/A

@ryboe ryboe added the enhancement New feature or request label Jan 10, 2021
@nedbat
Copy link
Owner

nedbat commented Jan 10, 2021

Duplicate of #1090. Something is in the air....

@nedbat nedbat closed this as completed Jan 10, 2021
@nedbat nedbat added the duplicate This issue or pull request already exists label Jan 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants