Skip to content

Commit d7a8249

Browse files
MNT: apply ruff 0.16 formatting to README.md code blocks
CI now installs ruff 0.16.0 (unpinned), which formats Python code inside Markdown fenced blocks. README.md predates this and fails `ruff format --check .`, blocking the lint job on every open PR. Reformat it here (4-space indent, double quotes, no logic change) so this PR's lint is green. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 77a28e6 commit d7a8249

1 file changed

Lines changed: 5 additions & 7 deletions

File tree

README.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -170,10 +170,10 @@ env = Environment(
170170
tomorrow = datetime.date.today() + datetime.timedelta(days=1)
171171

172172
env.set_date(
173-
(tomorrow.year, tomorrow.month, tomorrow.day, 12), timezone="America/Denver"
174-
) # Tomorrow's date in year, month, day, hour UTC format
173+
(tomorrow.year, tomorrow.month, tomorrow.day, 12), timezone="America/Denver"
174+
) # Tomorrow's date in year, month, day, hour UTC format
175175

176-
env.set_atmospheric_model(type='Forecast', file='GFS')
176+
env.set_atmospheric_model(type="Forecast", file="GFS")
177177
```
178178

179179
This can be followed up by starting a Solid Motor object. To get help on it, just use:
@@ -233,9 +233,7 @@ buttons = calisto.set_rail_buttons(
233233

234234
calisto.add_motor(Pro75M1670, position=-1.255)
235235

236-
nose = calisto.add_nose(
237-
length=0.55829, kind="vonKarman", position=1.278
238-
)
236+
nose = calisto.add_nose(length=0.55829, kind="vonKarman", position=1.278)
239237

240238
fins = calisto.add_trapezoidal_fins(
241239
n=4,
@@ -290,7 +288,7 @@ To actually create a Flight object, use:
290288

291289
```python
292290
test_flight = Flight(
293-
rocket=calisto, environment=env, rail_length=5.2, inclination=85, heading=0
291+
rocket=calisto, environment=env, rail_length=5.2, inclination=85, heading=0
294292
)
295293
```
296294

0 commit comments

Comments
 (0)