Closed MetRonnie closed 3 years ago
(The tests on Travis have passed, it's just Codacy complaining about an unassigned variable or something in a test)
BTW to make codacy happy just dedent that function and remove the unused self
arg.
Oh, codacy only shows the newest problem it has found with the code. Last time it was failing because of this expression-not-assigned (W0106). Trouble is, if you assign it, flake8 will flag it as an unused variable!
@kinow just a reminder this is awaiting your review, no rush though
This branch was kicking around for a while; I probably meant to create a PR earlier.
@property
decorators for getter methods, instead of having a mix of those and aget(self, property_name)
method59.999999999
-->60.0
. Just truncate the quantity instead (in this specific circumstance), so it dumps as59.999999
to 6 d.p.