kitovu-bot / kitovu

OpenHSR Connect 2
GNU General Public License v3.0
5 stars 2 forks source link

added reporters for printing warnings #13

Closed ThunderKey closed 6 years ago

ThunderKey commented 6 years ago

The reporter is used for printing warnings, either directly (in the CLI) or maybe only at the end (in the UI)

Usage in the pluigins: self.reporter.warn("my message")

codecov[bot] commented 6 years ago

Codecov Report

Merging #13 into master will increase coverage by 2.87%. The diff coverage is 98.61%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master     #13      +/-   ##
=========================================
+ Coverage   91.02%   93.9%   +2.87%     
=========================================
  Files          16      19       +3     
  Lines         468     525      +57     
  Branches       28      29       +1     
=========================================
+ Hits          426     493      +67     
+ Misses         36      26      -10     
  Partials        6       6
Impacted Files Coverage Δ
tests/test_cli.py 100% <100%> (ø)
tests/helpers/reporter.py 100% <100%> (ø)
tests/test_test_reporter.py 100% <100%> (ø)
src/kitovu/sync/syncing.py 100% <100%> (ø) :arrow_up:
src/kitovu/utils.py 71.87% <100%> (+4.01%) :arrow_up:
src/kitovu/sync/plugin/smb.py 91.04% <100%> (+0.13%) :arrow_up:
tests/sync/test_syncing.py 100% <100%> (ø) :arrow_up:
tests/helpers/dummyplugin.py 100% <100%> (ø) :arrow_up:
src/kitovu/sync/syncplugin.py 100% <100%> (ø) :arrow_up:
tests/sync/test_smb.py 100% <100%> (ø) :arrow_up:
... and 5 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 fa617c4...ea31bfe. Read the comment docs.