Skip to content

Commit

Permalink
Merge pull request #70 from NASA-PDS/product-completion-checker
Browse files Browse the repository at this point in the history
ADD RDS based PDS Nucleus product completion checker lambda functions
  • Loading branch information
jordanpadams authored Oct 12, 2023
2 parents c41cb0d + 8993b4b commit 4460426
Show file tree
Hide file tree
Showing 4 changed files with 346 additions and 284 deletions.
88 changes: 69 additions & 19 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,71 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-merge-conflict
- id: debug-statements
- id: check-yaml
- id: check-json #checks json files for parseable syntax.
- id: pretty-format-json #sets a standard for formatting json files.
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: trailing-whitespace
exclude: REQUIREMENTS\.md$
- id: end-of-file-fixer
exclude: REQUIREMENTS\.md$
- id: check-executables-have-shebangs
- id: check-merge-conflict
- id: debug-statements
- id: check-yaml
files: .*\.(yaml|yml)$
- id: check-json
- id: pretty-format-json

- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.81.0
hooks:
- id: terraform_fmt #Rewrites all Terraform configuration files to a canonical format.
- id: terraform_validate #Validates all Terraform configuration files.
- id: terraform_tflint #Validates all Terraform configuration files with TFLint.
# - id: terrascan #Detect compliance and security violations of Terraform templates.
# - id: terraform_tfsec
# - id: terraform_docs
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.81.0
hooks:
- id: terraform_fmt
- id: terraform_validate
# - id: terraform_tflint
# - id: terrascan
# - id: terraform_tfsec

- repo: https://github.com/asottile/reorder_python_imports
rev: v2.6.0
hooks:
- id: reorder-python-imports
files: ^src/|tests/

- repo: local
hooks:
- id: mypy
name: mypy
entry: mypy src
language: system
pass_filenames: false

- repo: local
hooks:
- id: black
name: black
entry: black
files: ^src/|tests/
language: system
types: [python]

- repo: local
hooks:
- id: flake8
name: flake8
entry: flake8 src
language: system
pass_filenames: false

- repo: local
hooks:
- id: tests
name: Tests
entry: pytest
language: system
stages: [push]
pass_filenames: false

# #65: support for git-secrets
- repo: https://github.com/awslabs/git-secrets.git
# We have to use an sha here instead of a tag because of awslabs/git-secrets#182
rev: b9e96b3212fa06aea65964ff0d5cda84ce935f38
hooks:
- id: git-secrets
Loading

0 comments on commit 4460426

Please sign in to comment.