-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
37 lines (34 loc) · 1.04 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
32
33
34
35
36
37
---
# https://pre-commit.ci
ci:
autoupdate_branch: main
autoupdate_schedule: weekly
autoupdate_prs: true
repos:
- repo: https://github.com/gitleaks/gitleaks
rev: v8.18.2
hooks:
- id: gitleaks
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: check-added-large-files
- id: check-executables-have-shebangs
- id: check-json
- id: check-merge-conflict
- id: check-symlinks
- id: check-toml
exclude: .*/\.github/.*
- id: end-of-file-fixer
- id: mixed-line-ending
args: [--fix=lf]
- id: pretty-format-json
- id: trailing-whitespace
# FIXME|2024-04-16|: This hook is disabled because `grep` is not present in repository https://github.com/pre-commit/pre-commit-hooks.
# - id: grep
# name: Check for FIXME comments
# description: This hook checks for code comments containing FIXME.
# entry: --color=always
# language: pygrep
# types: [text]
# args: ['--multiline', 'FIXME']