diff options
author | yobmod <yobmod@gmail.com> | 2021-05-08 20:28:23 +0100 |
---|---|---|
committer | yobmod <yobmod@gmail.com> | 2021-05-08 20:28:23 +0100 |
commit | efe68337c513c573dde8fbf58337bed2fa2ca39a (patch) | |
tree | 34e6e5edbba91b23b3f4d39019c8bd6811e6b95b /git/repo/base.py | |
parent | 37cef2340d3e074a226c0e81eaf000b5b90dfa55 (diff) | |
download | gitpython-efe68337c513c573dde8fbf58337bed2fa2ca39a.tar.gz |
Add types to config.py CONFIG_LEVELS, MetaParserBuilder.__new__() .needs_values() .set_dirty_and_flush_changes()
Diffstat (limited to 'git/repo/base.py')
-rw-r--r-- | git/repo/base.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/git/repo/base.py b/git/repo/base.py index 94c6e30b..ce5f6bd0 100644 --- a/git/repo/base.py +++ b/git/repo/base.py @@ -34,7 +34,7 @@ import gitdb # typing ------------------------------------------------------ -from git.types import TBD, PathLike, Literal +from git.types import TBD, PathLike, Lit_config_levels from typing import (Any, BinaryIO, Callable, Dict, Iterator, List, Mapping, Optional, TextIO, Tuple, Type, Union, @@ -45,7 +45,6 @@ if TYPE_CHECKING: # only needed for types from git.refs.symbolic import SymbolicReference from git.objects import TagObject, Blob, Tree # NOQA: F401 -Lit_config_levels = Literal['system', 'global', 'user', 'repository'] # ----------------------------------------------------------- |