-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
44 lines (39 loc) · 904 Bytes
/
.pre-commit-config.yaml
File metadata and controls
44 lines (39 loc) · 904 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
34
35
36
37
38
39
40
41
42
43
44
---
ci:
autoupdate_schedule: monthly
skip:
- hadolint-docker
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: check-merge-conflict
- id: check-yaml
- id: debug-statements
- id: end-of-file-fixer
- id: trailing-whitespace
# Linter and formatter
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.9
hooks:
- id: ruff
args:
- --fix
- id: ruff-format
# Security linter
- repo: https://github.com/pycqa/bandit
rev: 1.9.4
hooks:
- id: bandit
name: bandit
exclude: tests/
# Dockerfile linter
- repo: https://github.com/hadolint/hadolint
rev: v2.14.0
hooks:
- id: hadolint-docker
# Fix common misspellings
- repo: https://github.com/codespell-project/codespell
rev: v2.4.2
hooks:
- id: codespell