-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Labels
Description
mypy version: 0.641
Given the following file (named test.py):
class Foo:
async def bar(self):
return None
async def baz():
return NoneRunning stubgen --search-path . test produces out/test.pyi with the following contents:
# Stubs for test (Python 3.7)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
class Foo:
def bar(self): ...
def baz(): ...I would expect the output to be:
# Stubs for test (Python 3.7)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
class Foo:
async def bar(self): ...
async def baz(): ...