Skip to content

Restore pylint: ruff is not a drop-in replacement #289

Description

@farhan

Context

During the Python tooling modernization, pylint was replaced with ruff in xblocks-core.

Confusion was perhaps we are replacing ruff with pylint

After further discussion, the team has decided not to replace pylint with ruff.

Ruff will not catch issues like type mis-matches, attribute-undefined, etc.

For repos which are fully type annotated and checked with mypy we can ignore pylint

See the Slack thread for the full discussion: https://openedx.slack.com/archives/C05P7KQURL0/p1786133265985139

Summary of decision (from Feanil Patel):

People are welcome to add ruff, but it's not a replacement for pylint. To replace pylint we'll need to replace some custom pylint plugins + all its type checking.

Decision

  • Restore pylint to xblocks-core

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions