这是indexloc提供的服务,不要输入任何密码
Skip to content

Replace most linters with Ruff #109

@tmager

Description

@tmager

Ruff is an all-in-one linter and formatter that supports rulesets from our current linters, as well as many others. There are a few reasons to switch:

  • Ruff is enormously faster than our current linters, particularly Pylint, which reduces friction during development.
  • Ruff supports automatic fixes for many lints (e.g. automatically removing unused imports).
  • pydocstyle is no longer maintained, and its maintainers recommend switching to Ruff.

Switching will require adding support in nox-utils, then switching Core/Analytics over and fixing any new issues that are raised.

Sparked by this discussion on Slack (private channel, apologies to anyone that can't access it), though it has been on my radar for a bit.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions