GatorCogitate / cogitate_tool

Tool to analyze contributions when working in a team.
5 stars 13 forks source link

Update json_handler to handle inputs better, and remove pytest-sugar #88

Closed stephensonc closed 4 years ago

stephensonc commented 4 years ago

This pull request makes json_handler support the ability to have an input passed as "file.json" or "file" to make it less likely to cause an error if someone enters a file name incorrectly.

It is important to note that the json_handler changes do not affect any code that currently uses it.

Additionally, this small PR updates the pipfile to remove pytest-sugar so that our builds can pass due to #87

codecov-io commented 4 years ago

Codecov Report

Merging #88 into master will increase coverage by 7.51%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #88      +/-   ##
==========================================
+ Coverage   84.36%   91.88%   +7.51%     
==========================================
  Files           3        3              
  Lines         243      234       -9     
  Branches       52       45       -7     
==========================================
+ Hits          205      215      +10     
+ Misses         35       16      -19     
  Partials        3        3              
Impacted Files Coverage Δ
src/json_handler.py 100.00% <100.00%> (ø)
src/data_collection.py 86.46% <0.00%> (+12.16%) :arrow_up: