-
Notifications
You must be signed in to change notification settings - Fork 89
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
35 lines (32 loc) · 851 Bytes
/
.pre-commit-config.yaml
File metadata and controls
35 lines (32 loc) · 851 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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-json
- id: check-toml
- id: check-added-large-files
- id: check-merge-conflict
- id: name-tests-test
args: ["--pytest-test-first"]
- repo: https://github.com/commitizen-tools/commitizen
rev: v3.13.0
hooks:
- id: commitizen
- id: commitizen-branch
stages:
- push
- repo: local
hooks:
- id: black format
name: Black formatting
language: system
entry: black .
pass_filenames: false
- id: ruff checks and fixes
name: ruff checks and fixes
language: system
entry: ruff check . --fix
pass_filenames: false