Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork965
Pinmypy==1.18.2#2087
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Pinmypy==1.18.2#2087
Changes fromall commits
497ca4050762f18469a12a9756bc0aba3e7019f270ca5a2e8c7579089decf74a1f094cb5c834aeb15123File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -574,7 +574,7 @@ def _included_paths(self) -> List[Tuple[str, str]]: | ||
| if keyword.endswith("/i"): | ||
| value = re.sub( | ||
| r"[a-zA-Z]", | ||
| lambda m:f"[{m.group().lower()!r}{m.group().upper()!r}]", | ||
George-Ogden marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
| value, | ||
| ) | ||
| if self._repo.git_dir: | ||
| @@ -633,8 +633,6 @@ def read(self) -> None: # type: ignore[override] | ||
| file_path = cast(IO[bytes], file_path) | ||
| self._read(file_path, file_path.name) | ||
| else: | ||
| try: | ||
| with open(file_path, "rb") as fp: | ||
| file_ok = True | ||
| @@ -768,7 +766,7 @@ def _assure_writable(self, method_name: str) -> None: | ||
| if self.read_only: | ||
| raise IOError("Cannot execute non-constant method %s.%s" % (self, method_name)) | ||
| def add_section(self, section:"cp._SectionName") -> None: | ||
| """Assures added options will stay in order.""" | ||
| return super().add_section(section) | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -23,13 +23,14 @@ | ||
| List, | ||
| Match, | ||
| Optional, | ||
| Sequence, | ||
| Tuple, | ||
| TYPE_CHECKING, | ||
| TypeVar, | ||
| Union, | ||
| cast, | ||
| ) | ||
| from git.types importPathLike, Literal | ||
| if TYPE_CHECKING: | ||
| from subprocess import Popen | ||
| @@ -289,7 +290,7 @@ class DiffIndex(List[T_Diff]): | ||
| The class improves the diff handling convenience. | ||
| """ | ||
| change_type: Sequence[Literal["A", "C", "D", "R", "M", "T"]]= ("A", "C", "D", "R", "M", "T") # noqa: F821 | ||
George-Ogden marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
| """Change type invariant identifying possible ways a blob can have changed: | ||
| * ``A`` = Added | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -66,7 +66,7 @@ | ||
| if TYPE_CHECKING: | ||
| from git.index import IndexFile | ||
| from git.objects.commit import Commit | ||
| from git.refs import Head, RemoteReference | ||
George-Ogden marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
| from git.repo import Repo | ||
| # ----------------------------------------------------------------------------- | ||
| @@ -355,7 +355,7 @@ def _clone_repo( | ||
| module_checkout_path = osp.join(str(repo.working_tree_dir), path) | ||
| if url.startswith("../"): | ||
| remote_name =cast("RemoteReference",repo.active_branch.tracking_branch()).remote_name | ||
| repo_remote_url = repo.remote(remote_name).url | ||
| url = os.path.join(repo_remote_url, url) | ||
Uh oh!
There was an error while loading.Please reload this page.