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

Add more type annotations #625

Merged
merged 4 commits into from
May 24, 2023
Merged

Add more type annotations #625

merged 4 commits into from
May 24, 2023

Conversation

lovetox
Copy link
Contributor

@lovetox lovetox commented Mar 27, 2023

Hi,

I tried to add more type annotations

  • The docs say priority must be defined and is a property and must return float or int, but in the base class it was a method returning None. I tried to make this more consistent across the backends to make type checkers happy.

@lovetox lovetox force-pushed the master branch 3 times, most recently from 86f0e23 to 3bd9a74 Compare March 27, 2023 22:30
@jaraco
Copy link
Owner

jaraco commented May 22, 2023

I've rebased the changes on top of 687d2c5 (fixing the emergent black failure).

keyring/backend.py Outdated Show resolved Hide resolved
@lovetox
Copy link
Contributor Author

lovetox commented May 24, 2023

I remove the commit, so everything is ready from my side

@jaraco jaraco merged commit a94ff95 into jaraco:main May 24, 2023
16 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.

None yet

2 participants