-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Removes mutation of .pre-commit-config.yaml by seCureLI (#264)
This PR mostly deletes code related to mutating .pre-commit-config.yaml based on entries in .secureli.yaml. Once merged, users will be able to update .pre-commit-config.yaml directly to modify the behavior of the pre-commit hooks.
- Loading branch information
Showing
15 changed files
with
98 additions
and
1,659 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,46 +1 @@ | ||
repos: | ||
- hooks: | ||
- id: python-use-type-annotations | ||
repo: https://github.com/pre-commit/pygrep-hooks | ||
rev: v1.9.0 | ||
- hooks: | ||
- args: | ||
- --exclude | ||
- tests/ | ||
- --severity-level | ||
- medium | ||
id: bandit | ||
repo: https://github.com/PyCQA/bandit | ||
rev: 1.7.4 | ||
- hooks: | ||
- id: black | ||
repo: https://github.com/psf/black | ||
rev: 22.10.0 | ||
- hooks: | ||
- id: check-added-large-files | ||
- id: check-ast | ||
- id: check-docstring-first | ||
- id: check-executables-have-shebangs | ||
- id: check-shebang-scripts-are-executable | ||
- id: check-merge-conflict | ||
- id: check-toml | ||
- id: check-json | ||
- id: check-xml | ||
- id: check-yaml | ||
- id: debug-statements | ||
- args: | ||
- --allow-missing-credentials | ||
id: detect-aws-credentials | ||
- id: detect-private-key | ||
- args: | ||
- --pytest-test-first | ||
id: name-tests-test | ||
- id: trailing-whitespace | ||
- id: end-of-file-fixer | ||
- id: check-yaml | ||
repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.3.0 | ||
- hooks: | ||
- id: detect-secrets | ||
repo: https://github.com/Yelp/detect-secrets | ||
rev: v1.4.0 | ||
repos: [] |
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
Oops, something went wrong.