mirumee / prices

Python price handling for humans.
Other
268 stars 39 forks source link

Add __neg__ method to allow unary negation #22

Closed marsam closed 5 years ago

marsam commented 7 years ago

Add neg method to allow unary negation i.e. -price

codecov-io commented 7 years ago

Codecov Report

Merging #22 into master will decrease coverage by 0.37%. The diff coverage is 50%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master     #22      +/-   ##
=========================================
- Coverage   93.88%   93.5%   -0.38%     
=========================================
  Files           1       1              
  Lines         229     231       +2     
  Branches       39      39              
=========================================
+ Hits          215     216       +1     
- Misses          9      10       +1     
  Partials        5       5
Impacted Files Coverage Δ
prices/__init__.py 93.5% <50%> (-0.38%) :arrow_down:

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 da85c56...71c6d5b. Read the comment docs.