diff options
Diffstat (limited to 'git')
-rw-r--r-- | git/cmd.py | 3 | ||||
-rw-r--r-- | git/config.py | 4 |
2 files changed, 3 insertions, 4 deletions
@@ -164,8 +164,7 @@ CREATE_NO_WINDOW = 0x08000000 ## CREATE_NEW_PROCESS_GROUP is needed to allow killing it afterwards, # see https://docs.python.org/3/library/subprocess.html#subprocess.Popen.send_signal -PROC_CREATIONFLAGS = (CREATE_NO_WINDOW | subprocess.CREATE_NEW_PROCESS_GROUP - if is_win else 0) +PROC_CREATIONFLAGS = (CREATE_NO_WINDOW | subprocess.CREATE_NEW_PROCESS_GROUP if is_win else 0) class Git(LazyMixin): diff --git a/git/config.py b/git/config.py index 2a5aa142..293281d2 100644 --- a/git/config.py +++ b/git/config.py @@ -301,9 +301,9 @@ class GitConfigParser(cp.RawConfigParser, metaclass=MetaParserBuilder): """ cp.RawConfigParser.__init__(self, dict_type=_OMD) - self._dict: Callable[..., _OMD] # type: ignore[assignment] # mypy/typeshed bug + self._dict: Callable[..., _OMD] # type: ignore # mypy/typeshed bug? self._defaults: _OMD - self._sections: _OMD # type: ignore[assignment] # mypy/typeshed bug + self._sections: _OMD # type: ignore # mypy/typeshed bug? # Used in python 3, needs to stay in sync with sections for underlying implementation to work if not hasattr(self, '_proxies'): |