pygit2
pygit2 copied to clipboard
random fixes
adding more type checking into the library
This will add typing information since pygit2 stubs is obsolete at https://github.com/python/typeshed/pull/12785 Also others list at the tasks:
Tasks/TODO
- [x] Add typing to pygit2/_pygit2.pyi
- [x] Add pygit2/_libgit2.pyi
- [ ] Add typing to pygit2/settings.py
- [ ] Add typing to pygit2/init.py
- [x] Add typing to pygit2/errors.py
- [ ] Add typing to pygit2/remotes.py
- [ ] Add typing to pygit2/submodules.py
- [x] Add typing to pygit2/packbuilder.py
- [ ] Add typing to pygit2/refspec.py
- [ ] Add typing to pygit2/callbacks.py
- [ ] Add typing to pygit2/repository.py
- [x] Add typing to pygit2/branches.py
- [x] Add typing to pygit2/utils.py
- [x] Add typing to pygit2/credentials.py
- [x] Add typing to pygit2/enums.py
- [x] Add typing to pygit2/_run.py
- [ ] Add typing to pygit2/references.py
- [x] Add typing to pygit2/config.py
- [x] Add typing to pygit2/_build.py
- [ ] Add typing to pygit2/legacyenums.py
- [x] Add typing to pygit2/ffi.py
- [x] Add typing to pygit2/blame.py
- [x] Add typing to pygit2/blob.py
- [ ] Add typing to pygit2/index.py
- [x] Add more ruff configuration
- [x] Lint and format using ruff
- [x] Add pyright configuration for type checking
- [ ] Add more GitHub Actions workflows
- [ ] Maybe update docs
Hi, this PR is too big, could you split it?
Hi there, thanks for responding. Yeah is PR is too big, oops. Probably I need to know to split the PR itself. Thanks.
uhhh for some reasons in github found conlicts in a unittest, thinking that is a confilct...