Skip to content

Commit 4517567

Browse files
pre-commit-ci[bot]pmrowla
authored andcommitted
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 4137e8f commit 4517567

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/scmrepo/git/backend/dulwich/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ def update_refs(refs):
517517
parse_reftuples(self.repo.refs, refs, refspecs, force=force)
518518
)
519519
new_refs = {}
520-
for (lh, rh, _) in selected_refs:
520+
for lh, rh, _ in selected_refs:
521521
refname = os.fsdecode(rh)
522522
if rh in refs and lh is not None:
523523
if refs[rh] == self.repo.refs[lh]:
@@ -613,7 +613,7 @@ def determine_wants(
613613

614614
result = {}
615615

616-
for (lh, rh, _) in fetch_refs:
616+
for lh, rh, _ in fetch_refs:
617617
refname = os.fsdecode(rh)
618618
if rh in self.repo.refs:
619619
if self.repo.refs[rh] == fetch_result.refs[lh]:

tests/test_git.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,6 @@ def test_fetch_refspecs(
318318
use_url: bool,
319319
mocker: MockerFixture,
320320
):
321-
322321
from scmrepo.git.backend.dulwich import SyncStatus
323322

324323
url = f"file://{remote_git_dir.resolve().as_posix()}"

0 commit comments

Comments
 (0)