Skip to content

Use Ruff wherever possible for pre-commit #664

Description

@fyliu

Overview

Ruff is supposedly an order of magnitude faster than other static analysis tools, which is why we want to maximize its usage over other checkers that it reimplemented. Shorter pre-commit check time makes commits faster.

Action Items

  • look for pre-commit hooks that ruff replaces, and disable them
  • enable the corresponding rule sets in ruff
  • fix any new complaints

Resources/Instructions

Metadata

Metadata

Assignees

No one assigned

    Labels

    complexity: mediumStraightforward but some complexity (e.g., involves multiple files)feature: infrastructureFor changes on site technical architecturerole: dev opss: PD teamstakeholder: People Depot Teamsize: 2ptCan be done in 7-12 hours

    Type

    No fields configured for Task.

    Projects

    Status
    🆕New Issue Review

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions