Skip to content
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

random fixes #1332

Open
wants to merge 33 commits into
base: master
Choose a base branch
from
Open

random fixes #1332

wants to merge 33 commits into from

Conversation

DinhHuy2010
Copy link

@DinhHuy2010 DinhHuy2010 commented Dec 22, 2024

adding more type checking into the library

This will add typing information since pygit2 stubs is obsolete at python/typeshed#12785
Also others list at the tasks:

Tasks/TODO

  • Add typing to pygit2/_pygit2.pyi
  • Add pygit2/_libgit2.pyi
  • Add typing to pygit2/settings.py
  • Add typing to pygit2/init.py
  • Add typing to pygit2/errors.py
  • Add typing to pygit2/remotes.py
  • Add typing to pygit2/submodules.py
  • Add typing to pygit2/packbuilder.py
  • Add typing to pygit2/refspec.py
  • Add typing to pygit2/callbacks.py
  • Add typing to pygit2/repository.py
  • Add typing to pygit2/branches.py
  • Add typing to pygit2/utils.py
  • Add typing to pygit2/credentials.py
  • Add typing to pygit2/enums.py
  • Add typing to pygit2/_run.py
  • Add typing to pygit2/references.py
  • Add typing to pygit2/config.py
  • Add typing to pygit2/_build.py
  • Add typing to pygit2/legacyenums.py
  • Add typing to pygit2/ffi.py
  • Add typing to pygit2/blame.py
  • Add typing to pygit2/blob.py
  • Add typing to pygit2/index.py
  • Add more ruff configuration
  • Lint and format using ruff
  • Add pyright configuration for type checking
  • Add more GitHub Actions workflows
  • Maybe update docs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant