Ignore wrapped methods
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 42/100
Research direction
Start by examining the example in pyvista/plotting/plotting.py at lines 608-611, where the wraps decorator causes a false negative. Then locate the report's method-detection path and its option handling. Done means a default-enabled option ignores methods using wraps without reporting them as uncovered.
Written by the indexing model from the issue text.
Description
Add in an option (default True) to ignore methods using the wraps decorator. For example:
This will report a false negative since this docstring for this method isn't used.
- Dominant language
- Python
- Stars
- 3
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ansys/example-coverage
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
All issues in ansys/example-coverage
Similar issues
-
area: harness bug status: needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Human-Agent-Society/reef#625 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 1/5 Under an hour Newbie friendliness 80/100
learningequality/kolibri#15351 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Name consistency Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
eellak/triplestore#65 · 1 comment ·