From d812818cb20c39e0bb5609186214ea4bcc18c047 Mon Sep 17 00:00:00 2001 From: Yobmod Date: Sat, 24 Jul 2021 22:05:06 +0100 Subject: Rmv with_metaclass shim, make section constraint generic wrt its configparser type --- git/remote.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'git/remote.py') diff --git a/git/remote.py b/git/remote.py index 7da466e6..11007cb6 100644 --- a/git/remote.py +++ b/git/remote.py @@ -23,6 +23,7 @@ from git.util import ( ) from .config import ( + GitConfigParser, SectionConstraint, cp, ) @@ -911,7 +912,7 @@ class Remote(LazyMixin, IterableObj): return self._get_push_info(proc, progress) @ property - def config_reader(self) -> SectionConstraint: + def config_reader(self) -> SectionConstraint[GitConfigParser]: """ :return: GitConfigParser compatible object able to read options for only our remote. -- cgit v1.2.1