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

Commite39ecb7

Browse files
committed
Small manual formatting improvements
This adds a trailing "," in a few multi-line function calls intest/, where putting one argument per line was intended and isclearer. This is so that when black is run over test/, itrecognizes the form and avoids collapsing it.
1 parenta774182 commite39ecb7

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

‎test/test_commit.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,12 +173,12 @@ def check_entries(path, changes):
173173
".github/workflows/Future.yml" : {
174174
'insertions':57,
175175
'deletions':0,
176-
'lines':57
176+
'lines':57,
177177
},
178178
".github/workflows/test_pytest.yml" : {
179179
'insertions':0,
180180
'deletions':55,
181-
'lines':55
181+
'lines':55,
182182
},
183183
}
184184
assertpathinexpected

‎test/test_docs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ def test_references_and_objects(self, rw_dir):
481481
@pytest.mark.xfail(
482482
sys.platform=="cygwin",
483483
reason="Cygwin GitPython can't find SHA for submodule",
484-
raises=ValueError
484+
raises=ValueError,
485485
)
486486
deftest_submodules(self):
487487
# [1-test_submodules]

‎test/test_repo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1115,7 +1115,7 @@ def test_repo_odbtype(self):
11151115
@pytest.mark.xfail(
11161116
sys.platform=="cygwin",
11171117
reason="Cygwin GitPython can't find submodule SHA",
1118-
raises=ValueError
1118+
raises=ValueError,
11191119
)
11201120
deftest_submodules(self):
11211121
self.assertEqual(len(self.rorepo.submodules),1)# non-recursive

‎test/test_submodule.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ def test_base_bare(self, rwrepo):
469469
@pytest.mark.xfail(
470470
sys.platform=="cygwin",
471471
reason="Cygwin GitPython can't find submodule SHA",
472-
raises=ValueError
472+
raises=ValueError,
473473
)
474474
@skipIf(
475475
HIDE_WINDOWS_KNOWN_ERRORS,

‎test/test_util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ def test_lock_file(self):
159159
@pytest.mark.xfail(
160160
sys.platform=="cygwin",
161161
reason="Cygwin fails here for some reason, always",
162-
raises=AssertionError
162+
raises=AssertionError,
163163
)
164164
deftest_blocking_lock_file(self):
165165
my_file=tempfile.mktemp()

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp