forked from DinoTools/monitoring-check_haproxy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
37 lines (35 loc) · 1.4 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
# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: CC0-1.0
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
# Forbid files which have a UTF-8 byte-order marker
- id: check-byte-order-marker
# Require literal syntax when initializing empty or zero Python builtin types
- id: check-builtin-literals
# Check for files that would conflict in case-insensitive filesystems
- id: check-case-conflict
# Ensures that (non-binary) executables have a shebang
- id: check-executables-have-shebangs
# Check for files that contain merge conflict strings
- id: check-merge-conflict
# Checks for symlinks which do not point to anything
- id: check-symlinks
# This hook checks yaml files for parseable syntax
- id: check-yaml
# Detects the presence of private keys
- id: detect-private-key
# Ensures that a file is either empty, or ends with one newline
- id: end-of-file-fixer
# Replaces or checks mixed line ending
- id: mixed-line-ending
# This hook trims trailing whitespace
- id: trailing-whitespace
# Check for missing licensing and copyright information.
# The REUSE helper tool assists with achieving and confirming REUSE compliance.
# See: https://reuse.software/
- repo: https://github.com/fsfe/reuse-tool
rev: v1.0.0
hooks:
- id: reuse