-
Notifications
You must be signed in to change notification settings - Fork 199
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
33 lines (32 loc) · 848 Bytes
/
.pre-commit-config.yaml
File metadata and controls
33 lines (32 loc) · 848 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
# https://pre-commit.com
# https://pre-commit.com/hooks.html
default_language_version:
python: python3.13
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: 'v5.0.0'
hooks:
- id: check-added-large-files
- id: check-case-conflict
- id: check-merge-conflict
- id: check-toml
- id: check-yaml
- id: debug-statements
- id: end-of-file-fixer
- id: mixed-line-ending
- id: trailing-whitespace
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: 'v0.9.9'
hooks:
- id: ruff
- id: ruff-format
- repo: https://github.com/PyCQA/bandit
rev: '1.8.3'
hooks:
- id: bandit
- repo: https://github.com/commitizen-tools/commitizen
rev: 'v4.4.1'
hooks:
- id: commitizen
- id: commitizen-branch
stages: [pre-push]