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

Improve coverage exclusion specificity #87

Closed
ngraymon opened this issue Jun 24, 2022 · 0 comments · Fixed by #91
Closed

Improve coverage exclusion specificity #87

ngraymon opened this issue Jun 24, 2022 · 0 comments · Fixed by #91

Comments

@ngraymon
Copy link
Owner

To distinguish between:

  • debug statements that do not need to be covered
  • excited state cases that are not supported yet
  • legacy code that might need to be kept around
  • other?

We can define pragma: <anystring> and as along as its included the .coveragerc file as a regex under exclude_lines = then it will prevent coverage. But by using multiple instances of <anystring> we can communicate more information.

@lhprice lhprice linked a pull request Jun 28, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant