pyupio / pyup

A tool to update your project's dependencies on GitHub. Runs on pyup.io, comes with a command line interface.
https://pyup.io
MIT License
448 stars 67 forks source link

Update get_committer_data for latest PyGithub #410

Open DamianZaremba opened 3 years ago

DamianZaremba commented 3 years ago

v1.55 of PyGithub changed get_emails to return a named tuple (#1890) rather than a dict directly from the decoded API response.

Update the code to access the fields as a property rather than by index & bump the pin so 1.55 is the minimum version.

Fixes #409

codecov[bot] commented 3 years ago

Codecov Report

Merging #410 (3bebe38) into master (17c2384) will increase coverage by 0.08%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #410      +/-   ##
==========================================
+ Coverage   94.24%   94.32%   +0.08%     
==========================================
  Files          11       11              
  Lines        1164     1164              
==========================================
+ Hits         1097     1098       +1     
+ Misses         67       66       -1     
Impacted Files Coverage Δ
pyup/providers/github.py 99.39% <100.00%> (ø)
pyup/providers/gitlab.py 86.06% <0.00%> (+0.81%) :arrow_up:

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 17c2384...3bebe38. Read the comment docs.