We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a93029 commit 34f8c5cCopy full SHA for 34f8c5c
pyproject.toml
@@ -117,6 +117,7 @@ select = [
117
"PGH", # pygrep-hooks
118
"PIE", # flake8-pie
119
"PL", # pylint
120
+ "RET", # flake8-return
121
"RSE", # flake8-raise
122
"S", # flake8-bandit
123
"SIM", # flake8-simplify
@@ -132,6 +133,7 @@ ignore = [
132
133
"ISC001", # Single-line-implicit-string-concatenation, conflict with formatter
134
"PD901", # Allow using the generic variable name `df` for DataFrames
135
"PLR2004", # Allow any magic values
136
+ "RET504", # Allow variable assignment and return immediately for readability
137
"S603", # Allow method calls that initiate a subprocess without a shell
138
"SIM117", # Allow nested `with` statements
139
]
0 commit comments