Skip to content

Commit

Permalink
feat(): added custom check rds_non_replica_instance_backup_enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
uridealo committed May 6, 2024
1 parent 4d5bf50 commit 5aa7f52
Showing 1 changed file with 14 additions and 15 deletions.
29 changes: 14 additions & 15 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
repos:
## GENERAL
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v4.5.0
hooks:
- id: check-merge-conflict
- id: check-yaml
Expand All @@ -15,21 +15,21 @@ repos:

## TOML
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
rev: v2.13.0
rev: v2.12.0
hooks:
- id: pretty-format-toml
args: [--autofix]
files: pyproject.toml

## BASH
- repo: https://github.com/koalaman/shellcheck-precommit
rev: v0.10.0
rev: v0.9.0
hooks:
- id: shellcheck
exclude: contrib
## PYTHON
- repo: https://github.com/myint/autoflake
rev: v2.3.1
rev: v2.2.1
hooks:
- id: autoflake
args:
Expand All @@ -46,7 +46,7 @@ repos:
args: ["--profile", "black"]

- repo: https://github.com/psf/black
rev: 24.4.2
rev: 24.1.1
hooks:
- id: black

Expand All @@ -58,14 +58,14 @@ repos:
args: ["--ignore=E266,W503,E203,E501,W605"]

- repo: https://github.com/python-poetry/poetry
rev: 1.8.0
rev: 1.7.0
hooks:
- id: poetry-check
- id: poetry-lock
args: ["--no-update"]

- repo: https://github.com/hadolint/hadolint
rev: v2.13.0-beta
rev: v2.12.1-beta
hooks:
- id: hadolint
args: ["--ignore=DL3013"]
Expand All @@ -81,8 +81,7 @@ repos:
- id: trufflehog
name: TruffleHog
description: Detect secrets in your data.
entry: bash -c 'trufflehog .git'
#entry: bash -c 'trufflehog --no-update git file://. --only-verified --fail'
entry: bash -c 'trufflehog --no-update git file://. --only-verified --fail'
# For running trufflehog in docker, use the following entry instead:
# entry: bash -c 'docker run -v "$(pwd):/workdir" -i --rm trufflesecurity/trufflehog:latest git file:///workdir --only-verified --fail'
language: system
Expand All @@ -95,15 +94,15 @@ repos:
language: system
files: '.*\.py'

#- id: safety
# name: safety
# description: "Safety is a tool that checks your installed dependencies for known security vulnerabilities"
# entry: bash -c 'safety check'
# language: system
- id: safety
name: safety
description: "Safety is a tool that checks your installed dependencies for known security vulnerabilities"
entry: bash -c 'safety check'
language: system

- id: vulture
name: vulture
description: "Vulture finds unused code in Python programs."
entry: bash -c 'vulture --exclude "contrib" --min-confidence 100 .'
language: system
files: '.*\.py'
files: '.*\.py'

0 comments on commit 5aa7f52

Please sign in to comment.