Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

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

Sign up
Appearance settings

Commitfc1762b

Browse files
committed
Undo a couple minor black-incompatible changes
Two of the docstrings in git.remote need to have a newline beforethe conceptually "first" line in order for black to accept theindentation of the subsequent text, which appears intentional andworks fine as reStructuredText. Otherwise black dedents the codeblock, which affects rendering and is also less readable.
1 parentcd61eb4 commitfc1762b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

‎git/remote.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,8 @@ def to_progress_instance(
125125

126126

127127
classPushInfo(IterableObj):
128-
"""Carries information about the result of a push operation of a single head::
128+
"""
129+
Carries information about the result of a push operation of a single head::
129130
130131
info = remote.push()[0]
131132
info.flags # bitflags providing more information about the result
@@ -294,7 +295,8 @@ def raise_if_error(self) -> None:
294295

295296

296297
classFetchInfo(IterableObj):
297-
"""Carries information about the results of a fetch operation of a single head::
298+
"""
299+
Carries information about the results of a fetch operation of a single head::
298300
299301
info = remote.fetch()[0]
300302
info.ref # Symbolic Reference or RemoteReference to the changed

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp