-
Notifications
You must be signed in to change notification settings - Fork 82
/
.pre-commit-config.yaml
36 lines (36 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
32
33
34
35
36
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-executables-have-shebangs
- id: check-merge-conflict
- id: check-yaml
- id: end-of-file-fixer
exclude: (.*\.mbox)|(.*\.css)|(.*\.json)|(.*\.js)|(.*\.svg)|(.*/mails/.*-subject\.txt)|(tools/docker/db)
- id: trailing-whitespace
exclude: (.*\.mbox)|(.*\.svg)
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.5.5
hooks:
- id: remove-tabs
exclude: (.*\.mbox)|(.*\.svg)|(.*\.sql)|(.*\.conf)
- id: remove-crlf
exclude: (.*\.mbox)|(.*\.svg)
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.7.0
hooks:
# Run the linter.
- id: ruff
# Run the formatter.
- id: ruff-format
- repo: https://github.com/openstack/bashate
rev: 2.1.1
hooks:
- id: bashate
- repo: https://github.com/daveshanley/vacuum
rev: v0.12.1
hooks:
- id: vacuum
files: ^docs/api/schemas/(latest|v\d\.\d)/patchwork.yaml