-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
33 lines (31 loc) · 851 Bytes
/
Copy path.pre-commit-config.yaml
File metadata and controls
33 lines (31 loc) · 851 Bytes
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
---
repos:
- repo: 'https://github.com/pre-commit/pre-commit-hooks'
rev: 'v4.5.0'
hooks:
- id: 'check-added-large-files'
- id: 'fix-byte-order-marker'
- id: 'check-case-conflict'
- id: 'check-json'
exclude: '^\.vscode/'
- id: 'end-of-file-fixer'
- id: 'trailing-whitespace'
exclude: '\.md$'
- id: 'mixed-line-ending'
- id: 'check-merge-conflict'
- repo: 'https://github.com/adrienverge/yamllint.git'
rev: 'v1.35.1'
hooks:
- id: 'yamllint'
exclude: (?x)^(
.github/workflows|
\{\{cookiecutter.provider\}\}/.goreleaser.yml
)$
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.2.2
hooks:
# Run the linter.
- id: ruff
# Run the formatter.
- id: ruff-format