Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6c7740f

Browse files
Third time is the charm (#128)
1 parent 445753a commit 6c7740f

3 files changed

Lines changed: 4 additions & 1 deletion

File tree

README.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ Functions provided:
3636
stub finding behavior. All arguments are optional and the rest of the package will use
3737
a ``SearchContext`` created with the default values if no explicit context is provided.
3838
The arguments are:
39+
3940
- ``typeshed``: The path to the typeshed directory. If not provided, the package will
4041
use the bundled version of typeshed.
4142
- ``search_path``: A list of directories to search for stubs. If not provided,
@@ -51,6 +52,7 @@ Functions provided:
5152
- ``allow_py_files``: If True, allow searching for ``.py`` files in addition to
5253
``.pyi`` files. This is useful for typed packages that contain both stub files and
5354
regular Python files. The default is False.
55+
5456
- ``typeshed_client.get_stub_file(module_name: str, *,
5557
search_context: SearchContext | None = None) -> Path | None``: Returns
5658
the path to a module's stub file. For example,

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ def find_bundled_files() -> Iterable[str]:
3737
version=version,
3838
description="A library for accessing stubs in typeshed.",
3939
long_description=Path("README.rst").read_text(),
40+
long_description_content_type="text/x-rst",
4041
keywords="typeshed typing annotations",
4142
author="Jelle Zijlstra",
4243
author_email="[email protected]",

typeshed_client/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
)
2020
from .resolver import ImportedInfo, Resolver
2121

22-
__version__ = "2.8.0"
22+
__version__ = "2.8.2"
2323

2424

2525
__all__ = [

0 commit comments

Comments
 (0)