Skip to content

Commit 282985a

Browse files
committed
Fix ruff format --diff
1 parent 21fb1bb commit 282985a

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

pygit2/_pygit2.pyi

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ from .enums import (
4343
)
4444
from .filter import Filter
4545

46-
4746
LIBGIT2_VER_MAJOR: int
4847
LIBGIT2_VER_MINOR: int
4948
LIBGIT2_VER_REVISION: int
@@ -280,9 +279,7 @@ class _ObjectBase(Generic[_T]):
280279
self, target_type: 'Literal[ObjectType.TREE] | Type[Tree]', /
281280
) -> 'Tree': ...
282281
@overload
283-
def peel(
284-
self, target_type: 'Literal[ObjectType.TAG] | Type[Tag]', /
285-
) -> 'Tag': ...
282+
def peel(self, target_type: 'Literal[ObjectType.TAG] | Type[Tag]', /) -> 'Tag': ...
286283
@overload
287284
def peel(
288285
self, target_type: 'Literal[ObjectType.BLOB] | Type[Blob]', /
@@ -379,8 +376,6 @@ class Branch(Reference): # type: ignore[misc]
379376
def is_head(self) -> bool: ...
380377
def rename(self, name: str, force: bool = False) -> 'Branch': ... # type: ignore[override]
381378

382-
383-
384379
@final
385380
class Commit(_ObjectBase[GitCommitC]):
386381
_pointer: _Pointer[GitCommitC]
@@ -626,7 +621,6 @@ class _StrArray:
626621
# incomplete
627622
count: int
628623

629-
630624
class _LsRemotesDict(TypedDict):
631625
local: bool
632626
loid: Oid | None

0 commit comments

Comments
 (0)