Skip to content

Commit 9da88b0

Browse files
committed
fix(py): exclude markdown from ruff scope (0.16+ formats code fences)
1 parent c88a8dd commit 9da88b0

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

ruff.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ line-length = 100
1515
extend-exclude = [
1616
"codex-rs",
1717
"codex-cli",
18+
# Ruff 0.16+ also formats Python code fences inside Markdown, which
19+
# churns research/consolidated docs on every formatter upgrade. Scope
20+
# the formatter to Python source files only.
21+
"*.md",
1822
]
1923

2024
# Enable rule sections

0 commit comments

Comments
 (0)