Skip to content

Fix type annotations for clone_repository #1369

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

Merged

Conversation

s-hamann
Copy link
Contributor

@s-hamann s-hamann commented May 2, 2025

db587ad added type annotations to clone_repository. Not all of them are complete, though. (We clone by pathlib.Path, not by str. So, this broke type checking in one of our pipelines.)

This PR extends the type annotations to cover more accepted types.

@s-hamann s-hamann force-pushed the fix-clone_repository-type-annotations branch from 3631a2c to 894a4dc Compare May 2, 2025 11:36
@jdavid jdavid merged commit 894a4dc into libgit2:master May 2, 2025
8 checks passed
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.

2 participants