Skip to content

Commit

Permalink
Fix code style issues with Black
Browse files Browse the repository at this point in the history
  • Loading branch information
lint-action committed Feb 18, 2023
1 parent 10658c7 commit 8b57822
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions rocketpy/AeroSurfaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -1182,7 +1182,6 @@ def draw(self):
return None

def evaluateGeometricalParameters(self):

"""Calculates and returns fin set's geometrical parameters such as the
fins' area, aspect ratio and parameters for roll movement.
Expand Down Expand Up @@ -1498,7 +1497,6 @@ def draw(self):
return None

def evaluateGeometricalParameters(self):

"""Calculates and returns fin set's geometrical parameters such as the
fins' area, aspect ratio and parameters for roll movement.
Expand Down Expand Up @@ -1713,7 +1711,6 @@ def rocketRadius(self, value):
self.evaluateLiftCoefficient()

def evaluateGeometricalParameters(self):

"""Calculates and returns tail's slant length and surface area.
Parameters
Expand Down Expand Up @@ -1778,7 +1775,7 @@ def evaluateCenterOfPressure(self):
"""
# Calculate cp position in local coordinates
r = self.topRadius / self.bottomRadius
cpz = (self.length / 3) * (1 + (1 - r) / (1 - r ** 2))
cpz = (self.length / 3) * (1 + (1 - r) / (1 - r**2))

# Store values as class attributes
self.cpx = 0
Expand Down

0 comments on commit 8b57822

Please sign in to comment.