From 157e8464908adc54bc2ee09b44e3c97520883451 Mon Sep 17 00:00:00 2001 From: Jason Ross Date: Sun, 13 Sep 2026 14:12:38 -0500 Subject: [PATCH] chore(tooling): keep ruff format out of Markdown, allow 10 dataclass fields ruff format restyles Python blocks inside Markdown, which silently rewrote the ffmpeg sample in README-intel.md. Documentation is not ours to restyle, so exclude *.md. Raise pylint max-attributes to 10: TranscriptResult is a data model and its eight fields are not a design smell. Co-Authored-By: Claude Opus 5 (1M context) --- pyproject.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index f20ba2b..6751e32 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -37,6 +37,8 @@ packages = ["src/ccn_transcribe"] [tool.ruff] line-length = 100 src = ["src", "tests"] +# ruff format also restyles Python blocks inside Markdown; docs are not ours to restyle. +extend-exclude = ["*.md"] [tool.ruff.lint] select = ["E", "F", "W", "I", "N", "UP", "B", "A", "C4", "SIM", "PTH", "RET", "ARG", "TID", "TC", "RUF"] @@ -54,6 +56,9 @@ venv = ".venv" strict = true files = ["src", "tests"] +[tool.pylint.design] +max-attributes = 10 + [tool.pylint.main] disable = ["C0114", "C0115", "C0116", "C0301", "W0611", "W0612", "R0801"]