repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.6.0 hooks: - id: check-ast - id: check-case-conflict - id: check-merge-conflict - id: check-toml - id: debug-statements - id: end-of-file-fixer - id: mixed-line-ending - id: trailing-whitespace - repo: https://github.com/python-poetry/poetry rev: 1.8.2 hooks: - id: poetry-check - id: poetry-lock - id: poetry-export args: ["--without", "dev", "-f", "requirements.txt", "-o", "requirements.txt"] - id: poetry-export args: ["--only", "dev", "-f", "requirements.txt", "-o", "requirements-dev.txt"] - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.4.4 hooks: - id: ruff args: [ --fix ] - id: ruff-format