Skip to content

typecheck-part-1 #1350

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Prev Previous commit
Merge branch 'master' into typecheck-part-1
  • Loading branch information
DinhHuy2010 authored Feb 26, 2025
commit b15191dcd37f16abe48ce7190e546b1454cf63c2
10 changes: 5 additions & 5 deletions pygit2/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,12 @@
# ruff: noqa: F401 F403 F405

# Standard Library
import functools # noqa: I001
from os import PathLike
import functools
import os
import typing

# Low level API
from ._pygit2 import * # noqa: F403
from ._pygit2 import _cache_enums
from ._pygit2 import *

# High level API
from . import enums
Expand Down Expand Up @@ -67,8 +66,9 @@
_cache_enums()



def init_repository( # noqa: PLR0913
path: typing.Union[str, bytes, PathLike, None],
path: typing.Union[str, bytes, os.PathLike, None],
bare: bool = False,
flags: enums.RepositoryInitFlag = enums.RepositoryInitFlag.MKPATH,
mode: typing.Union[
Expand Down
1 change: 1 addition & 0 deletions pygit2/ffi.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@
# Boston, MA 02110-1301, USA.

# Import from pygit2

from ._libgit2 import ffi, lib as C # noqa: I001, F401
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.