Commit 20c8adc
fix: format README code blocks the way ruff 0.16 wants them (#964)
ruff 0.16 formats Python inside Markdown fences; 0.15 never read Markdown at
all. So README.md has been drifting from a rule nothing enforced yet, and the
pending ruff bump (#961) fails on it before it can land:
unformatted: File would be reformatted
--> README.md:141:16
Fixing this on main rather than on the Renovate branch: the drift belongs to
main, not to the bump, and a commit pushed onto a Renovate branch is lost the
next time Renovate regenerates it.
Body is the output of `ruff format` under 0.16.2 with no hand edits, and it
touches no .py file. Both versions are green on the result:
ruff 0.15.21 format --check -> 70 files already formatted
ruff 0.16.2 format --check -> 81 files already formatted
The 70/81 gap is the Markdown files the old version does not look at, which is
why this is safe to land before the bump.
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>1 parent f426f9c commit 20c8adc
1 file changed
Lines changed: 10 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
145 | 147 | | |
146 | 148 | | |
147 | 149 | | |
| |||
194 | 196 | | |
195 | 197 | | |
196 | 198 | | |
197 | | - | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
198 | 202 | | |
199 | 203 | | |
200 | 204 | | |
| |||
229 | 233 | | |
230 | 234 | | |
231 | 235 | | |
| 236 | + | |
232 | 237 | | |
233 | 238 | | |
234 | 239 | | |
| |||
0 commit comments