| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent fcc7418 commit 78055a8
19 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5,7 +5,7 @@ | |||
| 5 | 5 | ||
| 6 | 6 | from __future__ import annotations | |
| 7 | 7 | ||
| 8 | - __all__ = ("Git",) | ||
| 8 | + __all__ = ["Git"] | ||
| 9 | 9 | ||
| 10 | 10 | import contextlib | |
| 11 | 11 | import io | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5,7 +5,7 @@ | |||
| 5 | 5 | ||
| 6 | 6 | """Parser for reading and writing configuration files.""" | |
| 7 | 7 | ||
| 8 | - __all__ = ("GitConfigParser", "SectionConstraint") | ||
| 8 | + __all__ = ["GitConfigParser", "SectionConstraint"] | ||
| 9 | 9 | ||
| 10 | 10 | import abc | |
| 11 | 11 | import configparser as cp | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,7 +3,7 @@ | |||
| 3 | 3 | ||
| 4 | 4 | """Module with our own gitdb implementation - it uses the git command.""" | |
| 5 | 5 | ||
| 6 | - __all__ = ("GitCmdObjectDB", "GitDB") | ||
| 6 | + __all__ = ["GitCmdObjectDB", "GitDB"] | ||
| 7 | 7 | ||
| 8 | 8 | from gitdb.base import OInfo, OStream | |
| 9 | 9 | from gitdb.db import GitDB, LooseObjectDB | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,7 +3,7 @@ | |||
| 3 | 3 | # This module is part of GitPython and is released under the | |
| 4 | 4 | # 3-Clause BSD License: https://opensource.org/license/bsd-3-clause/ | |
| 5 | 5 | ||
| 6 | - __all__ = ("DiffConstants", "NULL_TREE", "INDEX", "Diffable", "DiffIndex", "Diff") | ||
| 6 | + __all__ = ["DiffConstants", "NULL_TREE", "INDEX", "Diffable", "DiffIndex", "Diff"] | ||
| 7 | 7 | ||
| 8 | 8 | import enum | |
| 9 | 9 | import re | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -6,7 +6,7 @@ | |||
| 6 | 6 | """Module containing :class:`IndexFile`, an Index implementation facilitating all kinds | |
| 7 | 7 | of index manipulations such as querying and merging.""" | |
| 8 | 8 | ||
| 9 | - __all__ = ("IndexFile", "CheckoutError", "StageType") | ||
| 9 | + __all__ = ["IndexFile", "CheckoutError", "StageType"] | ||
| 10 | 10 | ||
| 11 | 11 | import contextlib | |
| 12 | 12 | import datetime | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -4,7 +4,7 @@ | |||
| 4 | 4 | """Standalone functions to accompany the index implementation and make it more | |
| 5 | 5 | versatile.""" | |
| 6 | 6 | ||
| 7 | - __all__ = ( | ||
| 7 | + __all__ = [ | ||
| 8 | 8 | "write_cache", | |
| 9 | 9 | "read_cache", | |
| 10 | 10 | "write_tree_from_cache", | |
@@ -13,7 +13,7 @@ | |||
| 13 | 13 | "S_IFGITLINK", | |
| 14 | 14 | "run_commit_hook", | |
| 15 | 15 | "hook_path", | |
| 16 | - ) | ||
| 16 | + ] | ||
| 17 | 17 | ||
| 18 | 18 | from io import BytesIO | |
| 19 | 19 | import os | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,7 +3,7 @@ | |||
| 3 | 3 | ||
| 4 | 4 | """Additional types used by the index.""" | |
| 5 | 5 | ||
| 6 | - __all__ = ("BlobFilter", "BaseIndexEntry", "IndexEntry", "StageType") | ||
| 6 | + __all__ = ["BlobFilter", "BaseIndexEntry", "IndexEntry", "StageType"] | ||
| 7 | 7 | ||
| 8 | 8 | from binascii import b2a_hex | |
| 9 | 9 | from pathlib import Path | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,7 +3,7 @@ | |||
| 3 | 3 | ||
| 4 | 4 | """Index utilities.""" | |
| 5 | 5 | ||
| 6 | - __all__ = ("TemporaryFileSwap", "post_clear_cache", "default_index", "git_working_dir") | ||
| 6 | + __all__ = ["TemporaryFileSwap", "post_clear_cache", "default_index", "git_working_dir"] | ||
| 7 | 7 | ||
| 8 | 8 | import contextlib | |
| 9 | 9 | from functools import wraps | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,7 +3,7 @@ | |||
| 3 | 3 | # This module is part of GitPython and is released under the | |
| 4 | 4 | # 3-Clause BSD License: https://opensource.org/license/bsd-3-clause/ | |
| 5 | 5 | ||
| 6 | - __all__ = ("Object", "IndexObject") | ||
| 6 | + __all__ = ["Object", "IndexObject"] | ||
| 7 | 7 | ||
| 8 | 8 | import os.path as osp | |
| 9 | 9 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,7 +3,7 @@ | |||
| 3 | 3 | # This module is part of GitPython and is released under the | |
| 4 | 4 | # 3-Clause BSD License: https://opensource.org/license/bsd-3-clause/ | |
| 5 | 5 | ||
| 6 | - __all__ = ("Blob",) | ||
| 6 | + __all__ = ["Blob"] | ||
| 7 | 7 | ||
| 8 | 8 | from mimetypes import guess_type | |
| 9 | 9 | import sys | |
| Back | FazBrowse Home | New Git URL |
0 commit comments