Skip to content

Commit 879d54e

Browse files
Enforce ruff/flake8-return rules (RET)
1 parent f48d34b commit 879d54e

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
@@ -213,13 +213,16 @@ extend-select = [
213213
"PGH", # pygrep-hooks
214214
"PYI", # flake8-pyi
215215
"RSE", # flake8-raise
216+
"RET", # flake8-return
216217
"RUF",
217218
"TCH", # flake8-type-checking
218219
"TRY", # tryceratops
219220
"UP", # pyupgrade
220221
]
221222
ignore = [
222223
"PYI013",
224+
"RET505",
225+
"RET506",
223226
"RUF005",
224227
"TRY003",
225228
# https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules

0 commit comments

Comments
 (0)