-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge https://github.com/cisagov/skeleton-tf-module into lineage/skel…
…eton # Conflicts: # README.md # examples/basic_usage/README.md # examples/basic_usage/versions.tf # variables.tf
- Loading branch information
Showing
11 changed files
with
264 additions
and
96 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,22 +4,30 @@ default_language_version: | |
python: python3 | ||
|
||
repos: | ||
# Check the pre-commit configuration | ||
- repo: meta | ||
hooks: | ||
- id: check-useless-excludes | ||
|
||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.6.0 | ||
rev: v5.0.0 | ||
hooks: | ||
- id: check-case-conflict | ||
- id: check-executables-have-shebangs | ||
- id: check-json | ||
- id: check-merge-conflict | ||
- id: check-shebang-scripts-are-executable | ||
- id: check-symlinks | ||
- id: check-toml | ||
- id: check-vcs-permalinks | ||
- id: check-xml | ||
- id: debug-statements | ||
- id: destroyed-symlinks | ||
- id: detect-aws-credentials | ||
args: | ||
- --allow-missing-credentials | ||
- id: detect-private-key | ||
- id: end-of-file-fixer | ||
exclude: files/(issue|motd) | ||
- id: mixed-line-ending | ||
args: | ||
- --fix=lf | ||
|
@@ -31,22 +39,15 @@ repos: | |
|
||
# Text file hooks | ||
- repo: https://github.com/igorshubovych/markdownlint-cli | ||
rev: v0.41.0 | ||
rev: v0.42.0 | ||
hooks: | ||
- id: markdownlint | ||
args: | ||
- --config=.mdl_config.yaml | ||
- repo: https://github.com/pre-commit/mirrors-prettier | ||
# This is the last version of v3 available from the mirror. We should hold | ||
# here until v4, which is currently in alpha, is more stable. | ||
rev: v3.1.0 | ||
- repo: https://github.com/rbubley/mirrors-prettier | ||
rev: v3.3.3 | ||
hooks: | ||
- id: prettier | ||
# This is the latest version of v3 available from NPM. The pre-commit | ||
# mirror does not pull tags for old major versions once a new major | ||
# version tag is published. | ||
additional_dependencies: | ||
- [email protected] | ||
- repo: https://github.com/adrienverge/yamllint | ||
rev: v1.35.1 | ||
hooks: | ||
|
@@ -56,40 +57,40 @@ repos: | |
|
||
# GitHub Actions hooks | ||
- repo: https://github.com/python-jsonschema/check-jsonschema | ||
rev: 0.28.4 | ||
rev: 0.29.4 | ||
hooks: | ||
- id: check-github-actions | ||
- id: check-github-workflows | ||
|
||
# pre-commit hooks | ||
- repo: https://github.com/pre-commit/pre-commit | ||
rev: v3.7.1 | ||
rev: v4.0.1 | ||
hooks: | ||
- id: validate_manifest | ||
|
||
# Go hooks | ||
- repo: https://github.com/TekWizely/pre-commit-golang | ||
rev: v1.0.0-rc.1 | ||
hooks: | ||
# Style Checkers | ||
- id: go-critic | ||
# StaticCheck | ||
- id: go-staticcheck-repo-mod | ||
# Go Build | ||
- id: go-build-repo-mod | ||
# Style Checkers | ||
- id: go-critic | ||
# goimports | ||
- id: go-imports-repo | ||
args: | ||
# Write changes to files | ||
- -w | ||
# Go Mod Tidy | ||
- id: go-mod-tidy-repo | ||
# GoSec | ||
- id: go-sec-repo-mod | ||
# StaticCheck | ||
- id: go-staticcheck-repo-mod | ||
# Go Test | ||
- id: go-test-repo-mod | ||
# Go Vet | ||
- id: go-vet-repo-mod | ||
# GoSec | ||
- id: go-sec-repo-mod | ||
# goimports | ||
- id: go-imports-repo | ||
args: | ||
# Write changes to files | ||
- -w | ||
# Nix hooks | ||
- repo: https://github.com/nix-community/nixpkgs-fmt | ||
rev: v1.3.0 | ||
|
@@ -98,7 +99,7 @@ repos: | |
|
||
# Shell script hooks | ||
- repo: https://github.com/scop/pre-commit-shfmt | ||
rev: v3.8.0-1 | ||
rev: v3.10.0-1 | ||
hooks: | ||
- id: shfmt | ||
args: | ||
|
@@ -122,37 +123,49 @@ repos: | |
|
||
# Python hooks | ||
- repo: https://github.com/PyCQA/bandit | ||
rev: 1.7.8 | ||
rev: 1.7.10 | ||
hooks: | ||
- id: bandit | ||
args: | ||
- --config=.bandit.yml | ||
- repo: https://github.com/psf/black-pre-commit-mirror | ||
rev: 24.4.2 | ||
rev: 24.10.0 | ||
hooks: | ||
- id: black | ||
- repo: https://github.com/PyCQA/flake8 | ||
rev: 7.0.0 | ||
rev: 7.1.1 | ||
hooks: | ||
- id: flake8 | ||
additional_dependencies: | ||
- flake8-docstrings | ||
- flake8-docstrings==1.7.0 | ||
- repo: https://github.com/PyCQA/isort | ||
rev: 5.13.2 | ||
hooks: | ||
- id: isort | ||
- repo: https://github.com/pre-commit/mirrors-mypy | ||
rev: v1.10.0 | ||
rev: v1.13.0 | ||
hooks: | ||
- id: mypy | ||
- repo: https://github.com/pypa/pip-audit | ||
rev: v2.7.3 | ||
hooks: | ||
- id: pip-audit | ||
args: | ||
# Add any pip requirements files to scan | ||
- --requirement | ||
- requirements-dev.txt | ||
- --requirement | ||
- requirements-test.txt | ||
- --requirement | ||
- requirements.txt | ||
- repo: https://github.com/asottile/pyupgrade | ||
rev: v3.15.2 | ||
rev: v3.19.0 | ||
hooks: | ||
- id: pyupgrade | ||
|
||
# Ansible hooks | ||
- repo: https://github.com/ansible/ansible-lint | ||
rev: v24.6.0 | ||
rev: v24.9.2 | ||
hooks: | ||
- id: ansible-lint | ||
additional_dependencies: | ||
|
@@ -177,7 +190,7 @@ repos: | |
|
||
# Terraform hooks | ||
- repo: https://github.com/antonbabenko/pre-commit-terraform | ||
rev: v1.90.0 | ||
rev: v1.96.1 | ||
hooks: | ||
- id: terraform_fmt | ||
- id: terraform_validate | ||
|
@@ -190,7 +203,7 @@ repos: | |
|
||
# Packer hooks | ||
- repo: https://github.com/cisagov/pre-commit-packer | ||
rev: v0.0.2 | ||
rev: v0.3.0 | ||
hooks: | ||
- id: packer_validate | ||
- id: packer_fmt | ||
- id: packer_validate |
Oops, something went wrong.