repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.6.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer - id: check-yaml - id: check-added-large-files - id: detect-private-key - id: check-merge-conflict - id: double-quote-string-fixer - id: check-ast - id: detect-aws-credentials name: detect-aws-credentials entry: detect-secrets types: [file] language: python additional_dependencies: [detect-secrets==1.4.0] files: .aws/credentials - repo: https://github.com/psf/black rev: 24.4.2 hooks: - id: black - repo: https://github.com/PyCQA/isort rev: 5.13.2 hooks: - id: isort args: [--profile=black] - repo: https://github.com/Yelp/detect-secrets rev: v1.5.0 hooks: - id: detect-secrets args: ["--baseline", ".secrets.baseline"] exclude: package.lock.json - repo: https://github.com/PyCQA/flake8 rev: 7.1.0 hooks: - id: flake8 - repo: https://github.com/Lucas-C/pre-commit-hooks-safety rev: v1.3.3 hooks: - id: python-safety-dependencies-check - repo: https://github.com/adrienverge/yamllint.git rev: "v1.35.1" # Remplacez par la version actuelle de yamllint hooks: - id: yamllint - repo: https://github.com/ansible/ansible-lint rev: "v24.6.1" # Remplacez par la version actuelle d'ansible-lint hooks: - id: ansible-lint - repo: https://github.com/biozz/ansible-pre-commit-hooks rev: v0.0.1 hooks: - id: ansible-vault-encrypted