From 624d7367e22c2e2ea09ea82a32949806308e86a2 Mon Sep 17 00:00:00 2001 From: Christophe Bornet Date: Thu, 4 Jul 2024 17:42:11 +0200 Subject: [PATCH] Add ruff rules for TODOs --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 24af12117..cd2179c68 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -64,6 +64,8 @@ ignore = [ "ISC001", # Messes with the formatter "PERF203", # Incorrect detection "TRY003", # A bit too strict ? + "TD002", # We know the TODOs authors with git. Activate anyway ? + "TD003", # Do we want to activate (TODOs with issue reference) ? ] select = [ @@ -104,6 +106,7 @@ select = [ "T10", "T20", "TCH", + "TD", "TID", "TRY", "UP",