wimglenn / advent-of-code-data

Get your Advent of Code data with a single import statement
MIT License
515 stars 54 forks source link

contextlib #119

Closed wimglenn closed 1 year ago

wimglenn commented 1 year ago

simplify the subprocess wrapper using stdlib contextlib, now that we dropped py 2.x support added docstrings on a bunch of methods/functions

codecov[bot] commented 1 year ago

Codecov Report

Merging #119 (08640f9) into main (59a148a) will decrease coverage by 0.02%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #119      +/-   ##
==========================================
- Coverage   91.76%   91.74%   -0.02%     
==========================================
  Files          24       24              
  Lines        2622     2617       -5     
  Branches      351      351              
==========================================
- Hits         2406     2401       -5     
  Misses        153      153              
  Partials       63       63              
Impacted Files Coverage Δ
aocd/examples.py 75.40% <ø> (ø)
aocd/models.py 92.32% <ø> (ø)
aocd/post.py 100.00% <ø> (ø)
aocd/utils.py 90.25% <ø> (ø)
aocd/runner.py 95.45% <100.00%> (-0.13%) :arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more