Repository navigation
Commit 2f8f097
authored
chore: keep ruff's formatter out of the Markdown guides (#51)
ruff 0.16 formats fenced Python blocks in Markdown by default, and the
guides hold fragments that read as code but are not programs: a keyword
argument shown on its own becomes an assignment, a method body without
its def loses its indentation. The Dependabot bump to 0.16 fails on 24
such files. Markdown is excluded from the formatter, which is what its
documentation prescribes; the setting is harmless under the ruff in the
lock today.1 parent 1fa239d commit 2f8f097
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
114 | 117 | | |
115 | 118 | | |
116 | 119 | | |
| |||
0 commit comments