Skip to content

Commit 59c8944

Browse files
committed
forward ref Gitconfigparser
1 parent fe594eb commit 59c8944

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git/util.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -712,7 +712,7 @@ def committer(cls, config_reader: Union[None, 'GitConfigParser', 'SectionConstra
712712
return cls._main_actor(cls.env_committer_name, cls.env_committer_email, config_reader)
713713

714714
@classmethod
715-
def author(cls, config_reader: Union[None, GitConfigParser, SectionConstraint] = None) -> 'Actor':
715+
def author(cls, config_reader: Union[None, 'GitConfigParser', 'SectionConstraint'] = None) -> 'Actor':
716716
"""Same as committer(), but defines the main author. It may be specified in the environment,
717717
but defaults to the committer"""
718718
return cls._main_actor(cls.env_author_name, cls.env_author_email, config_reader)

0 commit comments

Comments
 (0)