From 02d02417800184fb76cd0245cdaa94c437aa4081 Mon Sep 17 00:00:00 2001 From: blasty Date: Fri, 21 Aug 2026 12:14:46 +0200 Subject: reformat: ruff format + import sort, mechanically (see ruff.toml) No behavior. Listed in .git-blame-ignore-revs (next commit). --- ruff.toml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ruff.toml') diff --git a/ruff.toml b/ruff.toml index 6d0f877..b7162a5 100644 --- a/ruff.toml +++ b/ruff.toml @@ -20,6 +20,13 @@ required-version = "==0.16.3" target-version = "py311" line-length = 88 +[format] +# 0.16 formats Python fenced blocks inside markdown by default. The snippets +# in docs/ are deliberately terse repro recipes (a `try: x` one-liner reads as +# one step); a formatter blowing them up to three lines makes them worse, and +# nothing executes them. Real code lives in .py files, which are formatted. +exclude = ["*.md"] + [lint] # Import sorting, and nothing else. `ruff check` can enforce a great deal more # and one day it might, but this hook's job is formatting: one that also -- cgit v1.3.1-sl0p