-
-
Notifications
You must be signed in to change notification settings - Fork 143
Closed
Labels
invalidThis is not a (valid) bug reportThis is not a (valid) bug report
Description
I'm not sure if this is a Click issue or a pdoc3 issue. It came up when running pdoc3 against our CLI project using Click 7. Figured I'd report the issue to both projects just in case.
Expected Behavior
Assuming we have a python package with one module containing the code below:
import click
def testdeco(func):
def wrapper(x):
print('in deco')
func(x)
return wrapper
@click.command()
@click.option('-s', '--some-arg', 'somearg')
def somefunc(somearg):
"""some func docstring"""
print('foo')
@testdeco
def decofunc(n):
print(n)
def otherfunc():
"""other func docstring"""
print('bar')
I'd expect pdoc3 to generate relevant docs for somefunc()
Actual Behavior
Additional info
Click==7.0
Mako==1.1.1
Markdown==3.2.1
MarkupSafe==1.1.1
pdoc3==0.7.4
Metadata
Metadata
Assignees
Labels
invalidThis is not a (valid) bug reportThis is not a (valid) bug report