[pylint] Implement invalid-index-returned (PLE0305) (#10962)

Add pylint rule invalid-index-returned (PLE0305)

See https://github.com/astral-sh/ruff/issues/970 for rules

Test Plan: `cargo test`
This commit is contained in:
Tibor Reiss
2024-04-19 05:44:05 +02:00
committed by GitHub
parent 97acf1d59b
commit 27902b7130
8 changed files with 234 additions and 0 deletions

1
ruff.schema.json generated
View File

@@ -3269,6 +3269,7 @@
"PLE0302",
"PLE0303",
"PLE0304",
"PLE0305",
"PLE0307",
"PLE0308",
"PLE0309",