-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
38 lines (33 loc) · 928 Bytes
/
.pre-commit-config.yaml
File metadata and controls
38 lines (33 loc) · 928 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
# Pre-commit configuration for this repository
# This file configures hooks for the cursor-pre-commit-hooks project itself
repos:
# Ruff for linting and formatting
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.4
hooks:
- id: ruff
args: [--fix]
- id: ruff-format
# MyPy for type checking
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.11.2
hooks:
- id: mypy
args: [--ignore-missing-imports]
# Local hooks from this repository
- repo: local
hooks:
- id: changelog-version
name: Changelog Version
entry: changelog-version
language: python
stages: [commit-msg]
pass_filenames: false
always_run: true
- id: auto-tag
name: Auto Tag
entry: auto-tag
language: python
stages: [post-commit]
pass_filenames: false
always_run: true