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

More typing #1343

Merged
merged 1 commit into from
Feb 16, 2025
Merged

More typing #1343

merged 1 commit into from
Feb 16, 2025

Conversation

sathieu
Copy link
Contributor

@sathieu sathieu commented Jan 28, 2025

No description provided.

@sathieu
Copy link
Contributor Author

sathieu commented Feb 7, 2025

Can someone review? @jdavid ?

@@ -96,7 +102,7 @@ class Keypair:
no passphrase is required.
"""

def __init__(self, username, pubkey, privkey, passphrase):
def __init__(self, username: str, pubkey: str, privkey: str, passphrase: str):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking at test/test_credentials.py pubkey/privkey may be path objects as well.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@sathieu sathieu requested a review from jdavid February 16, 2025 17:53
@jdavid jdavid merged commit 6a4192a into libgit2:master Feb 16, 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