diff options
author | Kian Cross <kian@kiancross.co.uk> | 2020-07-13 15:45:55 +0100 |
---|---|---|
committer | Sebastian Thiel <sebastian.thiel@icloud.com> | 2020-07-13 22:55:29 +0800 |
commit | 30387f16920f69544fcc7db40dfae554bcd7d1cc (patch) | |
tree | 93012b9f2780edf7201d5ff20deec2e083837cbd /git/repo/base.py | |
parent | 9b68361c8b81b23be477b485e2738844e0832b2f (diff) | |
download | gitpython-30387f16920f69544fcc7db40dfae554bcd7d1cc.tar.gz |
Fixed all warnings in documentation and updated Makefile to treat warnings as errors.
Diffstat (limited to 'git/repo/base.py')
-rw-r--r-- | git/repo/base.py | 6 |
1 files changed, 3 insertions, 3 deletions
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 |