-
Notifications
You must be signed in to change notification settings - Fork 15
/
.pre-commit-config.yaml
31 lines (30 loc) · 1.06 KB
/
.pre-commit-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
---
repos:
- repo: https://gitlab.corp.redhat.com/infosec-public/developer-workbench/tools.git
rev: rh-pre-commit-2.2.0
hooks:
# If you have not run this hook on your system before, it may prompt you to
# log in for patterns, and you will need to try again.
#
# Docs: https://source.redhat.com/departments/it/it-information-security/leaktk/leaktk_components/rh_pre_commit
- id: rh-pre-commit
# - id: rh-pre-commit.commit-msg # Optional for commit-msg attestation
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-json
- id: check-yaml
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-added-large-files
- id: detect-private-key
- id: check-executables-have-shebangs
- id: check-shebang-scripts-are-executable
- id: mixed-line-ending
args:
- --fix=lf
- id: requirements-txt-fixer
- id: check-ast
- id: check-docstring-first
- id: check-merge-conflict
- id: detect-aws-credentials