Skip to content
.pre-commit-config.yaml 1.05 KiB
Newer Older
nimrod's avatar
nimrod committed
-   repo: https://github.com/pre-commit/pre-commit-hooks
    sha: 7539d8bd1a00a3c1bfd34cdb606d3a6372e83469
nimrod's avatar
nimrod committed
    hooks:
    -   id: check-added-large-files
    -   id: check-json
    -   id: check-xml
    -   id: check-yaml
    -   id: check-merge-conflict
    -   id: flake8
    -   id: check-symlinks
nimrod's avatar
nimrod committed
-   repo: https://github.com/adarnimrod/ansible-pre-commit.git
    sha: 0fadd691465b97db8992cfc66650f630e433324b
nimrod's avatar
nimrod committed
    hooks:
    -   id: ansible-syntax-check
        always_run: true
        files: tests/playbook.yml
        args:
        - tests/playbook.yml
-   repo: https://github.com/willthames/ansible-lint
    sha: 959ab0f525e9abb19cf75f34381015cf33695f61
    hooks:
    -   id: ansible-lint
        always_run: true
        files: tests/playbook.yml
        args:
        - tests/playbook.yml
-   repo: local
    hooks:
    -   id: piprot
        name: piprot
        description: Check up-to-date Python requirements
        language: system
        entry: piprot --quiet --outdated tests/requirements.txt
        files: requirements.txt
        always_run: true