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 cb8ee3b commit 5f1a978Copy full SHA for 5f1a978
news/13426.trivial.rst
@@ -1 +1 @@
1
-Add ruff rules PIE for minor optimizations to avoid repeated calls to str.startswith and str.endswith.
+Add ruff rule PIE810 for minor optimizations to avoid repeated calls to str.startswith and str.endswith.
pyproject.toml
@@ -183,7 +183,7 @@ select = [
183
"I",
184
"ISC",
185
"PERF",
186
- "PIE",
+ "PIE810",
187
"PLE",
188
"PLR0",
189
"RUF100",
0 commit comments