tonybaloney / wily

A Python application for tracking, reporting on timing and complexity in Python code
Apache License 2.0
1.21k stars 59 forks source link

Annotate core functions and remove sphinx style argument types #205

Closed tonybaloney closed 1 year ago

tonybaloney commented 1 year ago

Changes:

there are possible more places to add types and some violations reported by MyPy, but this is a good start

codecov-commenter commented 1 year ago

Codecov Report

Merging #205 (477dd77) into master (d501d01) will increase coverage by 0.03%. Report is 2 commits behind head on master. The diff coverage is 96.38%.

@@            Coverage Diff             @@
##           master     #205      +/-   ##
==========================================
+ Coverage   95.42%   95.46%   +0.03%     
==========================================
  Files          24       26       +2     
  Lines        1269     1346      +77     
  Branches      287      287              
==========================================
+ Hits         1211     1285      +74     
- Misses         33       37       +4     
+ Partials       25       24       -1     
Files Changed Coverage Δ
src/wily/decorators.py 0.00% <0.00%> (ø)
src/wily/commands/list_metrics.py 90.90% <50.00%> (ø)
src/wily/archivers/__init__.py 94.11% <88.46%> (-5.89%) :arrow_down:
src/wily/operators/__init__.py 97.80% <95.00%> (-2.20%) :arrow_down:
src/wily/cache.py 98.21% <95.45%> (+0.03%) :arrow_up:
src/wily/config/types.py 97.50% <97.50%> (ø)
src/wily/__init__.py 100.00% <100.00%> (ø)
src/wily/__main__.py 95.69% <100.00%> (ø)
src/wily/archivers/filesystem.py 100.00% <100.00%> (ø)
src/wily/archivers/git.py 87.65% <100.00%> (+0.15%) :arrow_up:
... and 12 more