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

Exclude deprecated plotting/theme.py from coverage #2261

Merged
merged 3 commits into from
Mar 9, 2022

Conversation

adeak
Copy link
Member

@adeak adeak commented Feb 23, 2022

There was an annoying warning from coverage in PRs, because the following annotation didn't seem to work for coverage:

from pyvista import rcParams # noqa; pragma: no cover
from ..themes import parse_color # noqa; pragma: no cover

It's reasonable to remove this whole module from coverage instead (as per https://coverage.readthedocs.io/en/stable/source.html#source) and only keep the #noqa annotation.

Setting this as draft until #2175 is merged so as not to induce a merge conflict there.

@adeak adeak added the maintenance Low-impact maintenance activity label Feb 23, 2022
@adeak adeak marked this pull request as draft February 23, 2022 11:45
@codecov
Copy link

codecov bot commented Feb 23, 2022

Codecov Report

Merging #2261 (aaae1ef) into main (c7303f2) will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #2261      +/-   ##
==========================================
+ Coverage   93.43%   93.45%   +0.01%     
==========================================
  Files          75       74       -1     
  Lines       15654    15652       -2     
==========================================
  Hits        14627    14627              
+ Misses       1027     1025       -2     

@adeak adeak marked this pull request as ready for review March 3, 2022 13:01
@adeak
Copy link
Member Author

adeak commented Mar 3, 2022

This is ready for review.

Copy link
Member

@akaszynski akaszynski left a comment

Choose a reason for hiding this comment

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

LGTM.

Copy link
Contributor

@MatthewFlamm MatthewFlamm left a comment

Choose a reason for hiding this comment

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

Also LGTM

@banesullivan banesullivan merged commit e618081 into pyvista:main Mar 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Low-impact maintenance activity
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants