| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 0ba06e9 commit c946906
3 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,8 @@ | |||
| 1 | 1 | # This module is part of GitPython and is released under the | |
| 2 | 2 | # 3-Clause BSD License: https://opensource.org/license/bsd-3-clause/ | |
| 3 | 3 | ||
| 4 | + __all__ = ["Submodule", "UpdateProgress"] | ||
| 5 | + | ||
| 4 | 6 | import gc | |
| 5 | 7 | from io import BytesIO | |
| 6 | 8 | import logging | |
@@ -68,8 +70,6 @@ | |||
| 68 | 70 | ||
| 69 | 71 | # ----------------------------------------------------------------------------- | |
| 70 | 72 | ||
| 71 | - __all__ = ["Submodule", "UpdateProgress"] | ||
| 72 | - | ||
| 73 | 73 | _logger = logging.getLogger(__name__) | |
| 74 | 74 | ||
| 75 | 75 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,10 +1,13 @@ | |||
| 1 | 1 | # This module is part of GitPython and is released under the | |
| 2 | 2 | # 3-Clause BSD License: https://opensource.org/license/bsd-3-clause/ | |
| 3 | 3 | ||
| 4 | + __all__ = ["RootModule", "RootUpdateProgress"] | ||
| 5 | + | ||
| 4 | 6 | import logging | |
| 5 | 7 | ||
| 6 | 8 | import git | |
| 7 | 9 | from git.exc import InvalidGitRepositoryError | |
| 10 | + | ||
| 8 | 11 | from .base import Submodule, UpdateProgress | |
| 9 | 12 | from .util import find_first_remote_branch | |
| 10 | 13 | ||
@@ -20,8 +23,6 @@ | |||
| 20 | 23 | ||
| 21 | 24 | # ---------------------------------------------------------------------------- | |
| 22 | 25 | ||
| 23 | - __all__ = ["RootModule", "RootUpdateProgress"] | ||
| 24 | - | ||
| 25 | 26 | _logger = logging.getLogger(__name__) | |
| 26 | 27 | ||
| 27 | 28 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,12 +1,20 @@ | |||
| 1 | 1 | # This module is part of GitPython and is released under the | |
| 2 | 2 | # 3-Clause BSD License: https://opensource.org/license/bsd-3-clause/ | |
| 3 | 3 | ||
| 4 | - import git | ||
| 5 | - from git.exc import InvalidGitRepositoryError | ||
| 6 | - from git.config import GitConfigParser | ||
| 4 | + __all__ = ( | ||
| 5 | + "sm_section", | ||
| 6 | + "sm_name", | ||
| 7 | + "mkhead", | ||
| 8 | + "find_first_remote_branch", | ||
| 9 | + "SubmoduleConfigParser", | ||
| 10 | + ) | ||
| 11 | + | ||
| 7 | 12 | from io import BytesIO | |
| 8 | 13 | import weakref | |
| 9 | 14 | ||
| 15 | + import git | ||
| 16 | + from git.config import GitConfigParser | ||
| 17 | + from git.exc import InvalidGitRepositoryError | ||
| 10 | 18 | ||
| 11 | 19 | # typing ----------------------------------------------------------------------- | |
| 12 | 20 | ||
@@ -22,15 +30,6 @@ | |||
| 22 | 30 | from git import Remote | |
| 23 | 31 | from git.refs import RemoteReference | |
| 24 | 32 | ||
| 25 | - | ||
| 26 | - __all__ = ( | ||
| 27 | - "sm_section", | ||
| 28 | - "sm_name", | ||
| 29 | - "mkhead", | ||
| 30 | - "find_first_remote_branch", | ||
| 31 | - "SubmoduleConfigParser", | ||
| 32 | - ) | ||
| 33 | - | ||
| 34 | 33 | # { Utilities | |
| 35 | 34 | ||
| 36 | 35 | ||
@@ -65,7 +64,6 @@ def find_first_remote_branch(remotes: Sequence["Remote"], branch_name: str) -> " | |||
| 65 | 64 | ||
| 66 | 65 | # } END utilities | |
| 67 | 66 | ||
| 68 | - | ||
| 69 | 67 | # { Classes | |
| 70 | 68 | ||
| 71 | 69 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments