diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index 5e92aedb0512a9c29b7b4a7eabb90a5588b0addc..8deb7d41f449f6ab82acfcbaa4a5de90aeede148 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -15,14 +15,6 @@ types: [yaml] args: ['--inventory=localhost,', '--syntax-check'] -- id: ansible-vault-check - name: Verify vaulted files - description: Verify that Ansible Vault files are vaulted. - language: pygrep - files: vault - entry: |- - ANSIBLE_VAULT - - id: docker-compose name: docker-compose config description: Validate the Docker Compose file using docker-compose config @@ -60,11 +52,3 @@ entry: ./hooks/branch-merge-conflicts pass_filenames: false always_run: true - -- id: pip-outdated - name: pip-outdated - description: Find outdated Python dependencies in your requirements files. - language: python - entry: pip-outdated - args: ['--verbose'] - files: 'requirements.*\.txt$' diff --git a/README.md b/README.md index a4e65eb79d00e0a20e53a328bd57d1d55c2328d2..0cf0a2e8a2409034a2bbc44ab112a20acd77aa05 100644 --- a/README.md +++ b/README.md @@ -19,13 +19,11 @@ A collection of [pre-commit](https://pre-commit.com/) hooks. hooks: - id: shell-validate - id: ansible-syntax-check - - id: ansible-vault-check - id: docker-compose - id: terraform-fmt - id: terraform-validate - id: poetry-check - id: branch-merge-conflict - - id: pip-outdated ``` ## Available hooks @@ -38,10 +36,6 @@ Check shell scripts with `/bin/sh -en`. Check Ansible playbooks for syntax errors. -### `ansible-vault-check` - -Verify that Ansible Vault files are vaulted. - ### `docker-compose` Validate the Docker Compose file using docker-compose config. @@ -64,10 +58,6 @@ Validate `pyproject.toml` files using Poetry. Checks for merge conflicts with a specific branch. -### `pip-outdated` - -Find outdated Python dependencies in your requirements files. - ## License This software is licensed under the MIT license (see `LICENSE.txt`). diff --git a/setup.py b/setup.py index c8959d783c6fffa4d5f1bd47d340a8975741a91d..1b48a0a584e6b66b7a0945e153e48033853d6f7a 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,6 @@ setup( install_requires=[ "ansible>=4", "docker-compose>=1.20", - "pip-outdated", "poetry", ], entry_points={ @@ -20,7 +19,7 @@ setup( "docker-compose-validate=hooks.docker_compose_validate:main", "terraform-validate=hooks.terraform_validate:main", "terraform-fmt=hooks.terraform_fmt:main", - "poetry-check=hook.poetry_check:main", + "poetry-check=hooks.poetry_check:main", ] }, packages=find_packages(),