| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,6 @@ | |||
| 1 | + import os | ||
| 2 | + from typing import Optional, Union, Any | ||
| 3 | + | ||
| 4 | + | ||
| 5 | + TBD = Any | ||
| 6 | + PathLike = Union[str, os.PathLike[str]] | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,4 @@ | |||
| 1 | + | ||
| 2 | + [mypy] | ||
| 3 | + | ||
| 4 | + disallow_untyped_defs = True | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -95,6 +95,7 @@ def build_py_modules(basedir, excludes=[]): | |||
| 95 | 95 | license="BSD", | |
| 96 | 96 | url="https://github.com/gitpython-developers/GitPython", | |
| 97 | 97 | packages=find_packages(exclude=("test.*")), | |
| 98 | + package_data={'git': ['**/*.pyi', 'py.typed']}, | ||
| 98 | 99 | include_package_data=True, | |
| 99 | 100 | py_modules=build_py_modules("./git", excludes=["git.ext.*"]), | |
| 100 | 101 | package_dir={'git': 'git'}, | |
| Back | FazBrowse Home | New Git URL |
0 commit comments