repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v5.0.0 hooks: # Generic hooks, relevant for any language. - id: forbid-new-submodules - id: fix-byte-order-marker - id: end-of-file-fixer - id: trailing-whitespace - id: mixed-line-ending args: - --fix=lf - id: detect-private-key - id: check-added-large-files - id: check-merge-conflict - id: check-vcs-permalinks - id: check-json - id: check-toml - id: check-xml - id: check-yaml - id: check-executables-have-shebangs - id: check-shebang-scripts-are-executable - id: check-case-conflict - id: check-symlinks # Python-specific hooks. - id: requirements-txt-fixer - repo: https://github.com/PyCQA/isort rev: 6.0.1 hooks: - id: isort - repo: https://github.com/psf/black rev: 25.1.0 hooks: - id: black - repo: https://github.com/PyCQA/flake8 rev: 7.2.0 hooks: - id: flake8