Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e984bfe

Browse filesBrowse files
committed
Fix some underindented portions of docstrings
A few docstrings had parts that were meant to be indented the usual four spaces beyond the surrounding indentation, but were indented only three spaces beyond it instead.
1 parent 9f226fc commit e984bfe
Copy full SHA for e984bfe

File tree

1 file changed

+7
-7
lines changed
Filter options

1 file changed

+7
-7
lines changed

‎git/cmd.py

Copy file name to clipboardExpand all lines: git/cmd.py
+7-7Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -850,10 +850,10 @@ def __init__(self, working_dir: Union[None, PathLike] = None):
850850
"""Initialize this instance with:
851851
852852
:param working_dir:
853-
Git directory we should work in. If ``None``, we always work in the current
854-
directory as returned by :func:`os.getcwd`.
855-
This is meant to be the working tree directory if available, or the
856-
``.git`` directory in case of bare repositories.
853+
Git directory we should work in. If ``None``, we always work in the current
854+
directory as returned by :func:`os.getcwd`.
855+
This is meant to be the working tree directory if available, or the
856+
``.git`` directory in case of bare repositories.
857857
"""
858858
super().__init__()
859859
self._working_dir = expand_path(working_dir)
@@ -1103,8 +1103,8 @@ def execute(
11031103
:raise git.exc.GitCommandError:
11041104
11051105
:note:
1106-
If you add additional keyword arguments to the signature of this method,
1107-
you must update the ``execute_kwargs`` variable housed in this module.
1106+
If you add additional keyword arguments to the signature of this method, you
1107+
must update the ``execute_kwargs`` variable housed in this module.
11081108
"""
11091109
# Remove password for the command if present.
11101110
redacted_command = remove_password_if_present(command)
@@ -1438,7 +1438,7 @@ def _call_process(
14381438
14391439
turns into::
14401440
1441-
git rev-list max-count 10 --header master
1441+
git rev-list max-count 10 --header master
14421442
14431443
:return:
14441444
Same as :meth:`execute`. If no args are given, used :meth:`execute`'s

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.