repos:
-   repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v5.0.0
    hooks:
    -   id: trailing-whitespace
    -   id: check-added-large-files
        args:
        - --maxkb=128
    -   id: check-ast
    -   id: check-case-conflict
    -   id: check-docstring-first
    -   id: check-json
    -   id: check-merge-conflict
    -   id: check-xml
    -   id: check-yaml
    -   id: detect-private-key
    -   id: end-of-file-fixer
    -   id: mixed-line-ending
        args: [ '--fix=lf' ]
        description: Forces to replace line ending by the UNIX 'lf' character.
    -   id: fix-encoding-pragma
    -   id: name-tests-test
        args:
        - --django
        exclude: ^tests/testapp|^tests/management/|^tests/collisions/|^tests/pythonrc.py|^tests/runner.py
-   repo: https://github.com/astral-sh/ruff-pre-commit
    # Ruff version.
    rev: v0.11.4
    hooks:
    # Run the linter.
    -   id: ruff
    # Run the formatter.
    -   id: ruff-format
        args:
        - --diff
-   repo: https://github.com/tox-dev/pyproject-fmt
    rev: v2.5.0
    hooks:
    -   id: pyproject-fmt
        args:
        - --check
-   repo: https://github.com/trbs/pre-commit-hooks-trbs.git
    rev: 1.2.4
    hooks:
    -   id: forbid-executables
        exclude: manage.py|setup.py
