Skip to content

Commit 2778872

Browse files
authored
Add ruff rules for TODOs (#575)
1 parent 6b4f9be commit 2778872

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ ignore = [
6464
"ISC001", # Messes with the formatter
6565
"PERF203", # Incorrect detection
6666
"TRY003", # A bit too strict ?
67+
"TD002", # We know the TODOs authors with git. Activate anyway ?
68+
"TD003", # Do we want to activate (TODOs with issue reference) ?
6769
]
6870

6971
select = [
@@ -104,6 +106,7 @@ select = [
104106
"T10",
105107
"T20",
106108
"TCH",
109+
"TD",
107110
"TID",
108111
"TRY",
109112
"UP",

0 commit comments

Comments
 (0)