GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Don't explicitly list direct submodules in __all__ · gitpython-developers/GitPython@fcc7418

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • git
    • index
      • __init__.py
    • objects
      • __init__.py
      • submodule
        • __init__.py
    • refs
      • __init__.py
    • repo
      • __init__.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎git/index/__init__.py‎

Copy file name to clipboardExpand all lines: git/index/__init__.py
-5Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@
44
"""Initialize the index package."""
55

66
__all__ = [
7-
"base",
8-
"fun",
9-
"typ",
10-
"util",
117
"BaseIndexEntry",
128
"BlobFilter",
139
"CheckoutError",
@@ -16,6 +12,5 @@
1612
"StageType",
1713
]
1814

19-
from . import base, fun, typ, util
2015
from .base import CheckoutError, IndexFile
2116
from .typ import BaseIndexEntry, BlobFilter, IndexEntry, StageType
Collapse file

‎git/objects/__init__.py‎

Copy file name to clipboardExpand all lines: git/objects/__init__.py
-7Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,6 @@
44
"""Import all submodules' main classes into the package space."""
55

66
__all__ = [
7-
"base",
8-
"blob",
9-
"commit",
10-
"submodule",
11-
"tag",
12-
"tree",
137
"IndexObject",
148
"Object",
159
"Blob",
@@ -23,7 +17,6 @@
2317
"TreeModifier",
2418
]
2519

26-
from . import base, blob, commit, submodule, tag, tree
2720
from .base import IndexObject, Object
2821
from .blob import Blob
2922
from .commit import Commit
Collapse file

‎git/objects/submodule/__init__.py‎

Copy file name to clipboard
+1-10Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,7 @@
11
# This module is part of GitPython and is released under the
22
# 3-Clause BSD License: https://opensource.org/license/bsd-3-clause/
33

4-
__all__ = [
5-
"base",
6-
"root",
7-
"util",
8-
"Submodule",
9-
"UpdateProgress",
10-
"RootModule",
11-
"RootUpdateProgress",
12-
]
4+
__all__ = ["Submodule", "UpdateProgress", "RootModule", "RootUpdateProgress"]
135

14-
from . import base, root, util
156
from .base import Submodule, UpdateProgress
167
from .root import RootModule, RootUpdateProgress
Collapse file

‎git/refs/__init__.py‎

Copy file name to clipboardExpand all lines: git/refs/__init__.py
-7Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,6 @@
22
# 3-Clause BSD License: https://opensource.org/license/bsd-3-clause/
33

44
__all__ = [
5-
"head",
6-
"log",
7-
"reference",
8-
"remote",
9-
"symbolic",
10-
"tag",
115
"HEAD",
126
"Head",
137
"RefLog",
@@ -19,7 +13,6 @@
1913
"TagReference",
2014
]
2115

22-
from . import head, log, reference, remote, symbolic, tag
2316
from .head import HEAD, Head
2417
from .log import RefLog, RefLogEntry
2518
from .reference import Reference
Collapse file

‎git/repo/__init__.py‎

Copy file name to clipboardExpand all lines: git/repo/__init__.py
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
"""Initialize the repo package."""
55

6-
__all__ = ["base", "fun", "Repo"]
6+
__all__ = ["Repo"]
77

8-
from . import base, fun
98
from .base import Repo

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.