Skip to content

Commit

Permalink
fixes pylint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielBarberini committed Sep 11, 2024
1 parent 3cf0b68 commit 65e8024
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ def parse_error(error):
return f"{exc_type}: {exc_obj}"


from lib.api import app # pylint: disable=wrong-import-position
from lib.api import app # pylint: disable=wrong-import-position,cyclic-import
3 changes: 1 addition & 2 deletions lib/services/rocket.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def from_rocket_model(cls, rocket: Rocket) -> Self:
if cls.check_parachute_trigger(
trigger_expression := parachute.trigger
):
parachute.trigger = eval(# pylint: disable=eval-used
parachute.trigger = eval( # pylint: disable=eval-used
trigger_expression, {"__builtins__": None}, {}
)
rocketpy_parachute = cls.get_rocketpy_parachute(parachute)
Expand Down Expand Up @@ -170,7 +170,6 @@ def get_rocketpy_finset(fins: Fins, kind: str) -> RocketPyFins:
n=fins.n,
name=fins.name,
root_chord=fins.root_chord,
tip_chord=fins.tip_chord,
span=fins.span,
cant_angle=fins.cant_angle,
rocket_radius=fins.radius,
Expand Down

0 comments on commit 65e8024

Please sign in to comment.