Files
zulip/stubs/yamole.pyi
Greg Price 6d44772925 mypy: Add a first stub file, for yamole.
The main purpose of this commit is to demonstrate end-to-end that
our setup for type stubs works.  I picked this library more or less
arbitrarily as one where the API surface we use is tiny, so that the
stub would be extra easy to write.
2018-07-12 14:10:53 +05:30

8 lines
155 B
Python

from typing import Any, TextIO
class YamoleParser:
data: Any # A blob of data parsed from YAML.
def __init__(self, file: TextIO) -> None:
...