summaryrefslogtreecommitdiff
path: root/git
diff options
context:
space:
mode:
authorSebastian Thiel <sebastian.thiel@icloud.com>2021-03-03 23:47:40 +0800
committerGitHub <noreply@github.com>2021-03-03 23:47:40 +0800
commit20f4a9d49b466a18f1af1fdfb480bc4520a4cdc2 (patch)
tree332abfe1f5ea0dacda36cf90cb7376c7429bb2f8 /git
parent90c4db1f3ba931b812d9415324d7a8d2769fd6db (diff)
parent26ccee15ae1712baf68df99d3f5f2fec5517ecbd (diff)
downloadgitpython-20f4a9d49b466a18f1af1fdfb480bc4520a4cdc2.tar.gz
Merge pull request #1188 from Yobmod/main
Drop python 3.4, prep for adding types
Diffstat (limited to 'git')
-rw-r--r--git/py.typed0
-rw-r--r--git/types.py6
2 files changed, 6 insertions, 0 deletions
diff --git a/git/py.typed b/git/py.typed
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/git/py.typed
diff --git a/git/types.py b/git/types.py
new file mode 100644
index 00000000..dc44c123
--- /dev/null
+++ b/git/types.py
@@ -0,0 +1,6 @@
+import os # @UnusedImport ## not really unused, is in type string
+from typing import Union, Any
+
+
+TBD = Any
+PathLike = Union[str, 'os.PathLike[str]']