forked from opensource-nepal/commitlint
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
32 lines (29 loc) · 766 Bytes
/
.pre-commit-config.yaml
File metadata and controls
32 lines (29 loc) · 766 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
repos:
- repo: local
hooks:
- id: run-tests
name: Run tests
entry: poetry run pytest
language: system
pass_filenames: false
- id: commitlint
name: Commitlint
entry: python -m src.commitlint.cli --file
language: python
stages: [commit-msg]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-merge-conflict
- id: check-added-large-files
- id: check-yaml
- id: pretty-format-json
args: [--autofix]
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.9.6
hooks:
- id: ruff
args: [ --fix ]
- id: ruff-format