i noticed that both basedpyright and basedmypy report the function as containing Any when using the main decorator with click
import click
from mainpy import main
@main # basedpyright error: Function decorator obscures type of function because its type is Any (reportAny)
@click.command()
def click_command(): # basedmypy error: no-any-decorated
print("Hello from click_command")
thanks for fixing #36 so quickly
i noticed that both basedpyright and basedmypy report the function as containing
Any
when using themain
decorator with clickbasedpyright 1.17.1 basedmypy 2.6.0