From 72d8c561bba7b1f6658fd6e9d19059113ea6b7fd Mon Sep 17 00:00:00 2001 From: Pedro Bressan Date: Thu, 23 Nov 2023 14:36:37 -0300 Subject: [PATCH] STY: apply black for linting. --- rocketpy/motors/tank.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/rocketpy/motors/tank.py b/rocketpy/motors/tank.py index 4ff9dcfe7..031fb4e45 100644 --- a/rocketpy/motors/tank.py +++ b/rocketpy/motors/tank.py @@ -925,7 +925,9 @@ def fluid_volume(self): Function Volume of the fluid as a function of time. """ - return Function(self.geometry.total_volume).set_discrete_based_on_model(self.gas_volume) + return Function(self.geometry.total_volume).set_discrete_based_on_model( + self.gas_volume + ) @funcify_method("Time (s)", "Volume (m³)") def liquid_volume(self): @@ -1155,7 +1157,9 @@ def gas_volume(self): Volume of the gas as a function of time. """ # TODO: there's a bug on the gas_center_of_mass is I don't discretize here - func = Function(self.geometry.total_volume).set_discrete_based_on_model(self.liquid_volume) + func = Function(self.geometry.total_volume).set_discrete_based_on_model( + self.liquid_volume + ) func -= self.liquid_volume return func