From c44b5a5e21129f183db3781875f6ea38c3c5d5ab Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Thu, 26 Dec 2024 20:35:25 +0800 Subject: [PATCH] Enable ruff's flake8-todos (TD) rules (#3723) --- pyproject.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index b4907e6dc64..dfea29b5c46 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -119,6 +119,7 @@ select = [ "SIM", # flake8-simplify "T20", # flake8-print "TC", # flake8-type-checking + "TD", # flake8-todos "TID", # flake8-tidy-imports "TRY", # tryceratops "UP", # pyupgrade @@ -147,6 +148,7 @@ ignore = [ "RET504", # Allow variable assignment and return immediately for readability "S603", # Allow method calls that initiate a subprocess without a shell "SIM117", # Allow nested `with` statements + "TD003", # Allow TODO comments without associated issue link ] preview = true explicit-preview-rules = true