Skip to content

Commit

Permalink
appease ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
stspdotname authored and jelmer committed Nov 29, 2024
1 parent 4e71492 commit 574f6a0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/compat/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@

from dulwich import client, file, index, objects, protocol, repo
from dulwich.porcelain import tag_create
from dulwich.refs import _import_remote_refs
from dulwich.protocol import DEPTH_INFINITE
from dulwich.refs import _import_remote_refs

from .. import SkipTest, expectedFailure
from .utils import (
Expand Down Expand Up @@ -181,7 +181,7 @@ def test_fetch_into_shallow_clone(self) -> None:
("zop", "zop contents"),
]:
tree_id = self._add_file(src, tree_id, filename, contents)
commit_id = src.do_commit(
src.do_commit(
message=b"add " + filename.encode("utf-8"),
committer=b"Joe Example <[email protected]>",
tree=tree_id,
Expand All @@ -192,7 +192,7 @@ def test_fetch_into_shallow_clone(self) -> None:
local.refs,
"origin",
result.refs,
f"fetch: from {remote_path}".encode('ascii')
f"fetch: from {remote_path}".encode("ascii"),
)
self.assertEqual(local.get_shallow(), set())
with repo.Repo(self.dest) as local:
Expand Down

0 comments on commit 574f6a0

Please sign in to comment.