-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
42 lines (37 loc) · 1.03 KB
/
.pre-commit-config.yaml
File metadata and controls
42 lines (37 loc) · 1.03 KB
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
38
39
40
41
42
repos:
- repo: https://github.com/gruntwork-io/pre-commit
rev: v0.1.22
hooks:
- id: tflint
- repo: https://github.com/tofuutils/pre-commit-opentofu
rev: v2.1.0
hooks:
- id: tofu_fmt
- id: tofu_validate
- repo: https://github.com/ansible-community/ansible-lint.git
rev: v6.22.0
hooks:
- id: ansible-lint
files: \.(yaml|yml)$
args: ['--project-dir', 'ansible/', "--config-file", './ansible/.ansible-lint.yml']
additional_dependencies:
- ansible
- repo: https://github.com/psf/black
rev: 23.11.0
hooks:
- id: black
entry: black
args: [--config=pyproject.toml, --diff]
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: 'v0.1.4'
hooks:
- id: ruff
entry: ruff
args: [--config=pyproject.toml]
- repo: https://github.com/astral-sh/uv-pre-commit
# uv version.
rev: 0.5.5
hooks:
# Compile requirements
- id: pip-compile
args: [pyproject.toml, -o, requirements.txt]