Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2d92fee

Browse files
committed
add py.typed, mypy.ini and git/types.py
1 parent9c6178f commit2d92fee

File tree

4 files changed

+11
-0
lines changed

4 files changed

+11
-0
lines changed

‎git/py.typed

Whitespace-only changes.

‎git/types.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
importos
2+
fromtypingimportOptional,Union,Any
3+
4+
5+
TBD=Any
6+
PathLike=Union[str,os.PathLike[str]]

‎mypy.ini

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2+
[mypy]
3+
4+
disallow_untyped_defs = True

‎setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ def build_py_modules(basedir, excludes=[]):
9595
license="BSD",
9696
url="https://github.com/gitpython-developers/GitPython",
9797
packages=find_packages(exclude=("test.*")),
98+
package_data={'git': ['**/*.pyi','py.typed']},
9899
include_package_data=True,
99100
py_modules=build_py_modules("./git",excludes=["git.ext.*"]),
100101
package_dir={'git':'git'},

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp