# .pre-commit-config.yaml repos: - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.1.5 # Check for the latest version hooks: - id: ruff args: ["check", "--select", "I", "--fix"] - id: ruff-format - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.5.0 # Check for the latest version hooks: - id: check-yaml - id: end-of-file-fixer - id: trailing-whitespace - id: requirements-txt-fixer - repo: https://github.com/PyCQA/flake8 rev: 6.0.0 # Check for the latest version hooks: - id: flake8