tonybaloney / wily

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

Allow report to only display revisions that have changes (fix #187) #188

Closed devdanzin closed 1 year ago

devdanzin commented 1 year ago

This add a CLI option and the path to omit lines where delta equals zero or file was not found. I've added a test, but it only checks that the CLI option works.

Fixes #187.

codecov-commenter commented 1 year ago

Codecov Report

Merging #188 (4b9b8e2) into master (72c4bb8) will increase coverage by 0.01%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #188      +/-   ##
==========================================
+ Coverage   95.22%   95.24%   +0.01%     
==========================================
  Files          23       23              
  Lines        1214     1219       +5     
  Branches      273      275       +2     
==========================================
+ Hits         1156     1161       +5     
  Misses         33       33              
  Partials       25       25              
Impacted Files Coverage Δ
src/wily/__main__.py 95.50% <100.00%> (+0.02%) :arrow_up:
src/wily/commands/report.py 97.08% <100.00%> (+0.11%) :arrow_up: