Skip to content

TRACKING: Enable more ruff linters #1303

Open
@neiljp

Description

@neiljp

As of now ruff supports the following rules, as listed in the order at https://beta.ruff.rs/docs/rules/

Below are those we may be interested in, as well as those checked that we currently lint against (after #1299 and those labelled to PRs):

The following we would certainly not be interested in, since they lint against libraries we don't use:
DJ(ango), PD(Pandas-vet), NPY(numpy)

For comparison purposes, the main Zulip repo currently runs with at least the following in addition to those already checked:
DTZ, I, ISC, PLR, Q, RUF, S, T10

We would likely be interested in PT, since that covers pytest, which the main Zulip repo does not use.

Note that various files and rules may also be excluded in the main repo, as well as here, and may differ.

Also note that I would replace the isort tool that we currently use.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions