Skip to content

Commit 0a33138

Browse files
Enforce ruff/flake8-return rules (RET)
1 parent 372c823 commit 0a33138

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
@@ -143,6 +143,7 @@ extend-select = [
143143
"PGH",
144144
"PIE",
145145
"PT",
146+
"RET",
146147
"RSE",
147148
"RUF",
148149
"UP",
@@ -155,6 +156,8 @@ ignore = [
155156
"PT005", # deprecated
156157
"PT011",
157158
"PT012",
159+
"RET505",
160+
"RET506",
158161
"RUF001",
159162
"UP007",
160163
"UP027", # deprecated

0 commit comments

Comments
 (0)