Skip to content

Commit c44b5a5

Browse files
authored
Enable ruff's flake8-todos (TD) rules (#3723)
1 parent 16919ad commit c44b5a5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ select = [
119119
"SIM", # flake8-simplify
120120
"T20", # flake8-print
121121
"TC", # flake8-type-checking
122+
"TD", # flake8-todos
122123
"TID", # flake8-tidy-imports
123124
"TRY", # tryceratops
124125
"UP", # pyupgrade
@@ -147,6 +148,7 @@ ignore = [
147148
"RET504", # Allow variable assignment and return immediately for readability
148149
"S603", # Allow method calls that initiate a subprocess without a shell
149150
"SIM117", # Allow nested `with` statements
151+
"TD003", # Allow TODO comments without associated issue link
150152
]
151153
preview = true
152154
explicit-preview-rules = true

0 commit comments

Comments
 (0)