akamhy / waybackpy

Wayback Machine API interface & a command-line tool
https://pypi.org/project/waybackpy/
MIT License
453 stars 32 forks source link

Add tests #149

Closed akamhy closed 2 years ago

pep8speaks commented 2 years ago

Hello @akamhy! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

Line 14:9: W503 line break before binary operator Line 40:9: W503 line break before binary operator Line 74:9: W503 line break before binary operator Line 84:9: W503 line break before binary operator Line 135:9: W503 line break before binary operator Line 138:9: W503 line break before binary operator Line 148:9: W503 line break before binary operator

Line 82:13: W503 line break before binary operator

Comment last updated at 2022-02-08 11:47:56 UTC
codecov[bot] commented 2 years ago

Codecov Report

Merging #149 (1803803) into master (a7b8052) will increase coverage by 1.01%. The diff coverage is 91.41%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #149      +/-   ##
==========================================
+ Coverage   89.58%   90.59%   +1.01%     
==========================================
  Files           8       10       +2     
  Lines         576      617      +41     
==========================================
+ Hits          516      559      +43     
+ Misses         60       58       -2     
Impacted Files Coverage Δ
waybackpy/wrapper.py 46.96% <45.83%> (-34.49%) :arrow_down:
waybackpy/utils.py 89.47% <87.50%> (+2.20%) :arrow_up:
waybackpy/cdx_api.py 90.19% <90.19%> (ø)
waybackpy/cli.py 96.59% <96.00%> (+3.19%) :arrow_up:
waybackpy/save_api.py 96.07% <96.07%> (ø)
waybackpy/cdx_utils.py 98.43% <98.43%> (ø)
waybackpy/availability_api.py 98.75% <98.75%> (ø)
waybackpy/__init__.py 100.00% <100.00%> (ø)
waybackpy/cdx_snapshot.py 100.00% <100.00%> (ø)
waybackpy/exceptions.py 100.00% <100.00%> (ø)
... and 1 more

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 2bbfee7...1803803. Read the comment docs.