Skip to content

Commit 292ab84

Browse files
committed
Ruff format run
Code formated using ruff
1 parent 8ebbc90 commit 292ab84

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

rocketpy/motors/hybrid_motor.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,9 +194,10 @@ class HybridMotor(Motor):
194194
Atmospheric pressure in Pa at which the thrust data was recorded.
195195
It will allow to obtain the net thrust in the Flight class.
196196
SolidMotor.only_radial_burn : bool
197-
If True, grain regression is restricted to radial burn only (inner radius growth).
197+
If True, grain regression is restricted to radial burn only (inner radius growth).
198198
Grain length remains constant throughout the burn. Default is False.
199-
"""
199+
"""
200+
200201
# pylint: disable=too-many-arguments
201202
def __init__( # pylint: disable=too-many-arguments
202203
self,

rocketpy/motors/solid_motor.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,9 +194,10 @@ class SolidMotor(Motor):
194194
Atmospheric pressure in Pa at which the thrust data was recorded.
195195
It will allow to obtain the net thrust in the Flight class.
196196
SolidMotor.only_radial_burn : bool
197-
If True, grain regression is restricted to radial burn only (inner radius growth).
197+
If True, grain regression is restricted to radial burn only (inner radius growth).
198198
Grain length remains constant throughout the burn. Default is False.
199199
"""
200+
200201
# pylint: disable=too-many-arguments
201202
def __init__(
202203
self,
@@ -415,7 +416,7 @@ def exhaust_velocity(self):
415416
return Function(
416417
self.total_impulse / self.propellant_initial_mass
417418
).set_discrete_based_on_model(self.thrust)
418-
419+
419420
@property
420421
def only_radial_burn(self):
421422
return self._only_radial_burn

0 commit comments

Comments
 (0)