Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Ignore wrapped methods

Open
#8 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
42/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
testing

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:

https://github.com/pyvista/pyvista/blob/b5f8ec178e7f8eced18dd82fe882498dc46b2996/pyvista/plotting/plotting.py#L608-L611

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ansys/example-coverage

All issues in ansys/example-coverage

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.