Linting and Code Quality

October 14, 2025 ยท View on GitHub

This project uses Ruff and Pylint to ensure code quality and consistency.

Quick Start

1. Install Development Dependencies

pip install -r requirements-dev.txt

Automatic linting and fixing can be run on every commit using pre-commit hooks. This uses the .pre-commit-config.yaml in the project root and only runs on files under the src/ directory.

pre-commit install
# To analyze and fix all files under src/ manually:
pre-commit run --all-files

3. Individual Tool Commands (Advanced)

If you want to run tools directly:

ruff check --fix <file(s)>
ruff format <file(s)>
pylint <file(s)>