Skip to content

Commit 68c871b

Browse files
committed
Make mypy happy
1 parent e894e1c commit 68c871b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@
3333
[#1402](https://github.com/libgit2/pygit2/pull/1402)
3434
[#1403](https://github.com/libgit2/pygit2/pull/1403)
3535
[#1406](https://github.com/libgit2/pygit2/pull/1406)
36+
[#1407](https://github.com/libgit2/pygit2/pull/1407)
37+
[#1408](https://github.com/libgit2/pygit2/pull/1408)
3638

3739
Deprecations:
3840

pygit2/options.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,8 @@ def option(option_type: Option, arg1: Any = NOT_PASSED, arg2: Any = NOT_PASSED)
307307
Set the maximum number of objects to include in a pack.
308308
"""
309309

310+
result: str | None | list[str]
311+
310312
if option_type in (
311313
C.GIT_OPT_GET_MWINDOW_SIZE,
312314
C.GIT_OPT_GET_MWINDOW_MAPPED_LIMIT,

0 commit comments

Comments
 (0)