diff options
| author | Mike Frysinger <vapier@google.com> | 2023-08-21 21:20:32 -0400 |
|---|---|---|
| committer | LUCI <gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-08-22 18:32:22 +0000 |
| commit | 6447733eb28ea188d551ae518a7e51ebf63a4350 (patch) | |
| tree | 3e2571b39af0f8544dae4660ebc1d29e2a7bda9d /project.py | |
| parent | 06ddc8c50a7e802dbaf8468144c2b5773cda3714 (diff) | |
| download | git-repo-6447733eb28ea188d551ae518a7e51ebf63a4350.tar.gz | |
isort: format codebasev2.36
Change-Id: I6f11d123b68fd077f558d3c21349c55c5f251019
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/383715
Reviewed-by: Gavin Mak <gavinmak@google.com>
Tested-by: Mike Frysinger <vapier@google.com>
Commit-Queue: Mike Frysinger <vapier@google.com>
Diffstat (limited to 'project.py')
| -rw-r--r-- | project.py | 42 |
1 files changed, 23 insertions, 19 deletions
| @@ -26,35 +26,39 @@ import sys | |||
| 26 | import tarfile | 26 | import tarfile |
| 27 | import tempfile | 27 | import tempfile |
| 28 | import time | 28 | import time |
| 29 | from typing import NamedTuple, List | 29 | from typing import List, NamedTuple |
| 30 | import urllib.parse | 30 | import urllib.parse |
| 31 | 31 | ||
| 32 | from color import Coloring | 32 | from color import Coloring |
| 33 | from error import DownloadError | ||
| 34 | from error import GitError | ||
| 35 | from error import ManifestInvalidPathError | ||
| 36 | from error import ManifestInvalidRevisionError | ||
| 37 | from error import ManifestParseError | ||
| 38 | from error import NoManifestException | ||
| 39 | from error import RepoError | ||
| 40 | from error import UploadError | ||
| 33 | import fetch | 41 | import fetch |
| 34 | from git_command import GitCommand, git_require | 42 | from git_command import git_require |
| 35 | from git_config import ( | 43 | from git_command import GitCommand |
| 36 | GitConfig, | 44 | from git_config import GetSchemeFromUrl |
| 37 | IsId, | 45 | from git_config import GetUrlCookieFile |
| 38 | GetSchemeFromUrl, | 46 | from git_config import GitConfig |
| 39 | GetUrlCookieFile, | 47 | from git_config import ID_RE |
| 40 | ID_RE, | 48 | from git_config import IsId |
| 41 | ) | 49 | from git_refs import GitRefs |
| 50 | from git_refs import HEAD | ||
| 51 | from git_refs import R_HEADS | ||
| 52 | from git_refs import R_M | ||
| 53 | from git_refs import R_PUB | ||
| 54 | from git_refs import R_TAGS | ||
| 55 | from git_refs import R_WORKTREE_M | ||
| 42 | import git_superproject | 56 | import git_superproject |
| 43 | from git_trace2_event_log import EventLog | 57 | from git_trace2_event_log import EventLog |
| 44 | from error import ( | ||
| 45 | GitError, | ||
| 46 | UploadError, | ||
| 47 | DownloadError, | ||
| 48 | RepoError, | ||
| 49 | ) | ||
| 50 | from error import ManifestInvalidRevisionError, ManifestInvalidPathError | ||
| 51 | from error import NoManifestException, ManifestParseError | ||
| 52 | import platform_utils | 58 | import platform_utils |
| 53 | import progress | 59 | import progress |
| 54 | from repo_trace import Trace | 60 | from repo_trace import Trace |
| 55 | 61 | ||
| 56 | from git_refs import GitRefs, HEAD, R_HEADS, R_TAGS, R_PUB, R_M, R_WORKTREE_M | ||
| 57 | |||
| 58 | 62 | ||
| 59 | class SyncNetworkHalfResult(NamedTuple): | 63 | class SyncNetworkHalfResult(NamedTuple): |
| 60 | """Sync_NetworkHalf return value.""" | 64 | """Sync_NetworkHalf return value.""" |
