econchick / econchick/interrogate

`ignore-nested-functions` should work with coroutines

Open
#105 1 comment 1 reaction 1 assignee Claimed by @econchick View on GitHub
enhancement needs triage
Dominant language
Python
Stars
676
Forks
55
PR merge metrics
No merged PRs in 30d

Description

### Describe the feature you'd like

I'd like `ignore-nested-functions` to work with coroutines (i.e. `async def`). However if either function is actually a coroutine, it does not work

### Is your feature request related to a problem?

I'm frustrated when I have to add docstrings to unimportant functions and I can't avoid it just because of how they are defined i.e. there is nothing materially different between a function and coroutine when it comes to docstrings and their necessity (or lack thereof)

### Your Environment

- `interrogate` version(s) (`interrogate --version`: 1.5.0
- Operating System(s): MacOS Big Sur
- Python version(s): 3.9.7

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.