From ccfd3693d4658d9c367396630052b2962683564b Mon Sep 17 00:00:00 2001 From: collerek Date: Thu, 8 Oct 2026 16:07:07 +0200 Subject: [PATCH] chore: exclude Markdown files from ruff format Since ruff 0.16.10 ruff format also rewrites Python code blocks in Markdown, so make pre-commit (and the git hook running it) reformatted README.md and the docs on every run. --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 50adacf2e..5e41bab8d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -176,6 +176,7 @@ ignore = ["E402"] [tool.ruff.format] indent-style = "space" docstring-code-format = true +exclude = ["*.md"] [tool.ruff.lint.isort] known-first-party = ["ormar"] \ No newline at end of file