Skip to content

Commit

Permalink
fix python black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
richm committed Jun 4, 2024
1 parent 2973d3b commit 63d5031
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/module_utils/size.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,6 @@ def get(self, units="autobin", fmt="%0.1f %sb"):
exp += 1
else:
ftr, exp = self._parse_units(units.strip())
value = (
float(self.factor**self.exponent) / float(ftr**exp)
) * self.number
value = (float(self.factor**self.exponent) / float(ftr**exp)) * self.number

return self._format(fmt, ftr, exp) % value

0 comments on commit 63d5031

Please sign in to comment.