IssueRaiser

Implement Pylint

This is the parent issue for tracking parity with Pylint. Below, we've enumerated all Pylint rules. Rules that are checked off have been implemented in Ruff already (either as a Pylint rule, e.g., `PLE0237`, or by way of overlap with another linter like Pyflakes, as with `missing-format-string-key`). Rules that are crossed out have been removed some consideration. (In most cases, crossed-out rules represent Pylint specific rules, e.g., rules related to Pylint configuration.) At time of writing, many of the remaining rules require type inference and/or multi-file analysis, and aren't ready to be implemented in Ruff. (See: https://github.com/astral-sh/ruff/issues/970#issuecomment-1565594417 for an enumeration.) If you're looking to start work on a specific rule, I'd suggest commenting in the issue, to get some input on whether Ruff is capable of supporting it at present. For guidance on getting started, see the [Contributing](https://github.com/astral-sh/ruff/blob/main/CONTRIBUTING.md#example-adding-a-new-lint-rule) documentation. > *Note*: Don't implement rules that are part of Pylint extension until #1774 is completed. Don't implement rules that mainly target Python 2. # Error - [ ] `abstract-class-instantiated` / `E0110` - [ ] `access-member-before-definition` / `E0203` - [x] `assigning-non-slot` / `E0237` (`PLE0237`) - [ ] `assignment-from-no-return` / `E1111` - [ ] `assignment-from-none` / `E1128` - [x] `await-outside-async` / `E1142` (`PLE1142`) - [x] ~`bad-configu

Posted by charliermarsh on Nov 30, 2022, 4:52 AM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.2,500 issues0 comments

onboarding (Software)

Implement Pylint

charliermarshNov 30, 2022, 4:52 AM

This is the parent issue for tracking parity with Pylint. Below, we've enumerated all Pylint rules. Rules that are checked off have been implemented in Ruff already (either as a Pylint rule, e.g., `PLE0237`, or by way of overlap with another linter like Pyflakes, as with `missing-format-string-key`). Rules that are crossed out have been removed some consideration. (In most cases, crossed-out rules represent Pylint specific rules, e.g., rules related to Pylint configuration.) At time of writing, many of the remaining rules require type inference and/or multi-file analysis, and aren't ready to be implemented in Ruff. (See: https://github.com/astral-sh/ruff/issues/970#issuecomment-1565594417 for an enumeration.) If you're looking to start work on a specific rule, I'd suggest commenting in the issue, to get some input on whether Ruff is capable of supporting it at present. For guidance on getting started, see the [Contributing](https://github.com/astral-sh/ruff/blob/main/CONTRIBUTING.md#example-adding-a-new-lint-rule) documentation. > *Note*: Don't implement rules that are part of Pylint extension until #1774 is completed. Don't implement rules that mainly target Python 2. # Error - [ ] `abstract-class-instantiated` / `E0110` - [ ] `access-member-before-definition` / `E0203` - [x] `assigning-non-slot` / `E0237` (`PLE0237`) - [ ] `assignment-from-no-return` / `E1111` - [ ] `assignment-from-none` / `E1128` - [x] `await-outside-async` / `E1142` (`PLE1142`) - [x] ~`bad-configu

Comments (0)

No comments yet. Start the discussion.

Comment on this issue