-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
48 lines (42 loc) · 1.04 KB
/
.pre-commit-config.yaml
File metadata and controls
48 lines (42 loc) · 1.04 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
43
44
45
46
47
48
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.48.0
hooks:
- id: markdownlint
args:
- --config
- .markdownlint.yml
- --ignore
- CHANGELOG.md
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.6
hooks:
- id: ruff-check
args:
- --fix
- --output-format=full
- id: ruff-format
- repo: https://github.com/commitizen-tools/commitizen
rev: v4.8.3
hooks:
- id: commitizen
stages: [commit-msg]
- repo: local
hooks:
- id: ty
name: ty
entry: uv run ty check
language: system
files: \.py$
- id: testing
name: Testing
description: Running tests for the app
language: system
entry: uv run poe test
pass_filenames: false
default_stages: [pre-commit, pre-push]