| repos: | |
| - repo: https://github.com/pre-commit/pre-commit-hooks | |
| rev: v5.0.0 | |
| hooks: | |
| - id: trailing-whitespace | |
| - id: end-of-file-fixer | |
| - id: check-yaml | |
| - id: check-json | |
| - id: check-added-large-files | |
| - id: detect-private-key | |
| - id: check-merge-conflict | |
| - repo: https://github.com/psf/black | |
| rev: 25.1.0 | |
| hooks: | |
| - id: black | |
| language_version: python3.11 | |
| - repo: https://github.com/PyCQA/flake8 | |
| rev: 7.1.2 | |
| hooks: | |
| - id: flake8 | |
| args: [--max-line-length=120, --extend-ignore=E203,W503] | |
| additional_dependencies: [flake8] | |
| - repo: https://github.com/pre-commit/mirrors-mypy | |
| rev: v1.15.0 | |
| hooks: | |
| - id: mypy | |
| args: [--ignore-missing-imports, --follow-imports=silent] | |
| additional_dependencies: [pydantic] | |
| - repo: https://github.com/PyCQA/bandit | |
| rev: 1.8.3 | |
| hooks: | |
| - id: bandit | |
| args: [--skip=B101, --recursive, src/] | |
| additional_dependencies: [bandit] | |