From 12fae4977a1ca658d57dd09492f533e8da34490f Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 1 Oct 2026 16:05:30 +0000 Subject: [PATCH] ci: enable Ruff rules for complexity, simplification and bug patterns Co-Authored-By: Claude Opus 5.5 (1M context) Claude-Session: https://claude.ai/code/session_01DctatTFpBeUnxrrHkmrpzh --- pyproject.toml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 10df47b..e28cd62 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,3 +20,21 @@ mastodon-discord = [ [tool.uv] default-groups = ["dev", "grafana-github", "mastodon-discord"] + +[tool.ruff.lint] +extend-select = [ + "B", + "BLE", + "C901", + "FURB", + "I", + "PERF", + "PIE", + "PLR0912", + "PLR0913", + "PLR0915", + "RET", + "SIM", + "TRY", + "UP", +]