-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
34 lines (34 loc) · 1.03 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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- id: detect-private-key
- id: check-shebang-scripts-are-executable
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 23.9.1
hooks:
- id: black
name: black
description: "Black: The uncompromising Python code formatter"
entry: black --check
language: python
minimum_pre_commit_version: 2.9.2
require_serial: true
types_or: [python, pyi]
- repo: https://github.com/sirwart/ripsecrets
rev: v0.1.7
hooks:
- id: ripsecrets
# - repo: https://github.com/ansible/ansible-lint
# rev: v6.20.3
# hooks:
# - id: ansible-lint
# name: Ansible-lint
# description: This hook runs ansible-lint.
# entry: ansible-lint -v --force-color ./ansible
# pass_filenames: false
# additional_dependencies:
# - ansible-core>=2.13