diff --git a/Makefile b/Makefile index e5c38e227..0b077d453 100644 --- a/Makefile +++ b/Makefile @@ -24,16 +24,21 @@ install: pip install -e . format: - ruff check --select I --fix rocketpy/ tests/ docs/ - ruff format rocketpy/ tests/ docs/ + @ruff check --select I --fix rocketpy/ tests/ docs/ + @ruff format rocketpy/ tests/ docs/ + @echo Ruff formatting completed. lint: ruff-lint pylint ruff-lint: - ruff check rocketpy/ tests/ docs/ --output-file=.ruff-report.txt + @echo Running ruff check... + @ruff check rocketpy/ tests/ docs/ --output-file=.ruff-report.txt + @echo Ruff report generated at ./.ruff-report.txt pylint: - -pylint rocketpy/ tests/ docs/ --output=.pylint-report.txt + @echo Running pylint check... + @pylint rocketpy/ tests/ docs/ --output=.pylint-report.txt + @echo Pylint report generated at ./.pylint-report.txt build-docs: cd docs && $(PYTHON) -m pip install -r requirements.txt && make html diff --git a/docs/examples/astra_flight_sim.ipynb b/docs/examples/astra_flight_sim.ipynb index def79f1a6..6aeccc44d 100644 --- a/docs/examples/astra_flight_sim.ipynb +++ b/docs/examples/astra_flight_sim.ipynb @@ -35,12 +35,10 @@ "metadata": {}, "outputs": [], "source": [ - "from rocketpy import Function, Environment, Flight, Rocket, SolidMotor\n", - "from rocketpy.motors import CylindricalTank\n", - "from rocketpy.motors.tank import MassFlowRateBasedTank\n", - "\n", "import matplotlib.pyplot as plt\n", "\n", + "from rocketpy import Environment, Flight, Function, Rocket, SolidMotor\n", + "\n", "plt.style.use(\"seaborn-v0_8-colorblind\")" ] }, @@ -380,7 +378,6 @@ "source": [ "from rocketpy.simulation.flight_data_importer import FlightDataImporter\n", "\n", - "\n", "columns_map = {\"t\": \"time\", \"alt\": \"altitude\"}\n", "\n", "telemetry_data = FlightDataImporter(\n",