Skip to content

Add pre-commit hooks for linting and formatting #35

@RBhupi

Description

@RBhupi

Area

Other / cross-cutting

Motivation

Developer experience — improves development or testing

Problem

Scope

Introduce local pre-commit enforcement.

Proposed solution

Tasks

  • Add ruff (lint + import sorting)
  • Add black (formatting)
  • Add optional isort only if ruff config is insufficient
  • Add yaml + whitespace + EOF checks
  • Ensure hooks run fast (<5–10s target)

Done

  • Hooks installed via pre-commit
  • Developer runs pre-commit before CI

Alternatives considered

No response

Additional context

No response

Checklist

  • I searched existing issues and this has not been requested before
  • This is one focused request, not multiple features bundled together

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No fields configured for Task.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions