FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
GitPython/git/objects/__init__.py at main · Python-Repository-Hub/GitPython · GitHub
Python-Repository-Hub
GitPython
Repository navigation
Code
Pull requests
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
GitPython
/
git
/
objects
/
__init__.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
24 lines (19 loc) · 936 Bytes
Breadcrumbs
GitPython
/
git
/
objects
/
__init__.py
Copy path
File metadata and controls
24 lines (19 loc) · 936 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# This module is part of GitPython and is released under the
# 3-Clause BSD License: https://opensource.org/license/bsd-3-clause/
"""Import all submodules' main classes into the package space."""
import
inspect
from
.
base
import
*
# noqa: F403
from
.
blob
import
*
# noqa: F403
from
.
commit
import
*
# noqa: F403
from
.
submodule
import
util
as
smutil
from
.
submodule
.
base
import
*
# noqa: F403
from
.
submodule
.
root
import
*
# noqa: F403
from
.
tag
import
*
# noqa: F403
from
.
tree
import
*
# noqa: F403
# Fix import dependency - add IndexObject to the util module, so that it can be
# imported by the submodule.base.
smutil
.
IndexObject
=
IndexObject
# type: ignore[attr-defined] # noqa: F405
smutil
.
Object
=
Object
# type: ignore[attr-defined] # noqa: F405
del
smutil
# Must come after submodule was made available.
__all__
=
[
name
for
name
,
obj
in
locals
().
items
()
if
not
(
name
.
startswith
(
"_"
)
or
inspect
.
ismodule
(
obj
))]
Back
|
FazBrowse Home
|
New Git URL