Skip to content

Commit

Permalink
feat: removed trufflehog from precommit
Browse files Browse the repository at this point in the history
  • Loading branch information
ryankanno committed Nov 4, 2023
1 parent 026f25e commit ee069bb
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 17 deletions.
8 changes: 0 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,3 @@ repos:
- id: bandit
args: ["--configfile", "bandit.yaml", "--ini", ".bandit", "-r"]
pass_filenames: false
- repo: local
hooks:
- id: trufflehog
name: TruffleHog
description: Detect secrets in your data.
entry: bash -c 'docker run -v "$(pwd):/workdir" -i --rm trufflesecurity/trufflehog:latest git file:///workdir --since-commit HEAD --only-verified --fail'
language: system
stages: ["commit", "push"]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ template is the tool that will help you do just that.
- [`sphinx`](http://www.sphinx-doc.org/en/master/) for docs
- [`pdb++`](https://github.com/pdbpp/pdbpp) for debugging
- [`konch`](http://konch.readthedocs.org/en/latest/) for shell configuration w/ [`ipython`](https://ipython.org) support
- [`pre-commit`](https://pre-commit.com) hooks with various hooks (mypy / black / [`ruff`](https://github.com/astral-sh/ruff) / trufflehog) configured [`dockerfile`](https://www.docker.com/) for development, testing, and production
- [`pre-commit`](https://pre-commit.com) hooks with various hooks (mypy / black / [`ruff`](https://github.com/astral-sh/ruff)) configured [`dockerfile`](https://www.docker.com/) for development, testing, and production
- [`dunamai`](https://github.com/mtkennerly/dunamai) for versioning
- custom [`makefile`](https://raw.githubusercontent.com/ryankanno/cookiecutter-py/master/%7B%7Bcookiecutter.package_name%7D%7D/Makefile) (run make help)
- stay up-to-date w/ configured [`dependabot`](https://dependabot.com/)
Expand Down
8 changes: 0 additions & 8 deletions {{cookiecutter.package_name}}/.pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,3 @@ repos:
- id: bandit
args: ["--configfile", "bandit.yaml", "--ini", ".bandit", "-r"]
pass_filenames: false
- repo: local
hooks:
- id: trufflehog
name: TruffleHog
description: Detect secrets in your data.
entry: bash -c 'docker run -v "$(pwd):/workdir" -i --rm trufflesecurity/trufflehog:latest git file:///workdir --since-commit HEAD --only-verified --fail'
language: system
stages: ["commit", "push"]

0 comments on commit ee069bb

Please sign in to comment.