From 30387f16920f69544fcc7db40dfae554bcd7d1cc Mon Sep 17 00:00:00 2001 From: Kian Cross Date: Mon, 13 Jul 2020 15:45:55 +0100 Subject: Fixed all warnings in documentation and updated Makefile to treat warnings as errors. --- git/repo/base.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'git/repo/base.py') diff --git a/git/repo/base.py b/git/repo/base.py index a7ca5ec6..591ccec5 100644 --- a/git/repo/base.py +++ b/git/repo/base.py @@ -270,9 +270,9 @@ class Repo(object): @property def common_dir(self): - """:return: The git dir that holds everything except possibly HEAD, - FETCH_HEAD, ORIG_HEAD, COMMIT_EDITMSG, index, and logs/ . """ + :return: The git dir that holds everything except possibly HEAD, + FETCH_HEAD, ORIG_HEAD, COMMIT_EDITMSG, index, and logs/.""" return self._common_dir or self.git_dir @property @@ -988,7 +988,7 @@ class Repo(object): :param multi_options: A list of Clone options that can be provided multiple times. One option per list item which is passed exactly as specified to clone. For example ['--config core.filemode=false', '--config core.ignorecase', - '--recurse-submodule=repo1_path', '--recurse-submodule=repo2_path'] + '--recurse-submodule=repo1_path', '--recurse-submodule=repo2_path'] :param kwargs: * odbt = ObjectDatabase Type, allowing to determine the object database implementation used by the returned Repo instance -- cgit v1.2.1