diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b44f9c9..14cfc2c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -42,6 +42,8 @@ jobs: run: | python -m pip install --upgrade pip pip install --upgrade --requirement requirements-test.txt + - name: Set up pre-commit hook environments + run: pre-commit install-hooks - name: Run pre-commit on all files run: pre-commit run --all-files test: diff --git a/.gitignore b/.gitignore index 47375b0..fdbe25e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,6 @@ -.mypy_cache -__pycache__ +*.egg-info .coverage .mypy_cache .pytest_cache .python-version -*.egg-info +__pycache__ diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 673015e..e20d51a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -86,7 +86,7 @@ repos: - id: ansible-lint # files: molecule/default/playbook.yml - repo: https://github.com/antonbabenko/pre-commit-terraform.git - rev: v1.27.0 + rev: v1.29.0 hooks: - id: terraform_fmt - id: terraform_validate @@ -95,7 +95,7 @@ repos: hooks: - id: docker-compose-check - repo: https://github.com/prettier/prettier - rev: 2.0.2 + rev: 2.0.4 hooks: - id: prettier - repo: https://github.com/pre-commit/mirrors-mypy