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

Fixes #418 Support keyring.get_credential #419

Merged
merged 9 commits into from
Oct 30, 2018
Merged

Conversation

zooba
Copy link
Contributor

@zooba zooba commented Oct 27, 2018

Fixes #418 Support keyring.get_credential
This requires keyring 15.2 or later.

@zooba
Copy link
Contributor Author

zooba commented Oct 27, 2018

The docs failure is not my fault (perhaps I should write some docs...?) - it's in the contributors guide.

@zooba zooba changed the title Fixes #418 Support keyring.get_username_and_password Fixes #418 Support keyring.get_credential Oct 28, 2018
@zooba zooba closed this Oct 28, 2018
@zooba zooba reopened this Oct 28, 2018
@codecov
Copy link

codecov bot commented Oct 28, 2018

Codecov Report

Merging #419 into master will increase coverage by <.01%.
The diff coverage is 83.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #419      +/-   ##
==========================================
+ Coverage   78.29%   78.29%   +<.01%     
==========================================
  Files          14       14              
  Lines         737      751      +14     
  Branches      106      108       +2     
==========================================
+ Hits          577      588      +11     
- Misses        127      130       +3     
  Partials       33       33
Impacted Files Coverage Δ
twine/settings.py 93.1% <100%> (ø) ⬆️
twine/utils.py 83.68% <82.35%> (-0.32%) ⬇️
twine/wininst.py 31.57% <0%> (ø) ⬆️
twine/commands/check.py 100% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bd1d8b0...d5239b8. Read the comment docs.

Copy link
Member

@jaraco jaraco left a comment

Choose a reason for hiding this comment

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

Looks good to me. On minor request.

@pytest.fixture
def keyring_missing_get_credentials(monkeypatch):
"""
Simulate that 'import keyring' raises an ImportError
Copy link
Member

Choose a reason for hiding this comment

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

This docstring needs to be updated.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

So does the name that gets deleted immediately below... guess that's why the coverage didn't hit 100%?

@jaraco jaraco merged commit 89a35dc into pypa:master Oct 30, 2018
@zooba zooba deleted the issue-418 branch October 30, 2018 19:42
@sigmavirus24
Copy link
Member

@jaraco why are you merging changes for this project? I don't believe you were ever explicitly made a maintainer or asked to help

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.

3 participants