Skip to content

Commit

Permalink
removes dead code and reduces import line size
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielBarberini committed Nov 18, 2023
1 parent 509887c commit 673df6f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 24 deletions.
6 changes: 5 additions & 1 deletion lib/controllers/flight.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@
from lib.models.motor import Motor, MotorEngines, MotorKinds
from lib.models.flight import Flight
from lib.models.environment import Env
from lib.views.flight import FlightSummary, SurfaceWindConditions, OutOfRailConditions, BurnoutConditions, ApogeeConditions, MaximumValues, InitialConditions, NumericalIntegrationSettings, ImpactConditions, EventsRegistered, LaunchRailConditions, FlightData, FlightCreated, FlightUpdated, FlightDeleted, FlightPickle
from lib.views.flight import (
FlightSummary, SurfaceWindConditions, OutOfRailConditions, BurnoutConditions, ApogeeConditions, MaximumValues,
InitialConditions, NumericalIntegrationSettings, ImpactConditions, EventsRegistered, LaunchRailConditions, FlightData,
FlightCreated, FlightUpdated, FlightDeleted, FlightPickle
)
from lib.repositories.flight import FlightRepository
from lib.controllers.environment import EnvController
from lib.controllers.rocket import RocketController
Expand Down
22 changes: 0 additions & 22 deletions lib/repositories/repo_sync.py

This file was deleted.

1 change: 0 additions & 1 deletion lib/secrets.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ def get_os_secret(key):
def get_secret(self, key):
dotenv_secret = self.secrets.get(key)
if not dotenv_secret:
print("cheguei")
return self.get_os_secret(key)
return dotenv_secret

Expand Down

0 comments on commit 673df6f

Please sign in to comment.