-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
33 lines (33 loc) · 863 Bytes
/
.pre-commit-config.yaml
File metadata and controls
33 lines (33 loc) · 863 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
exclude: "^tests/test_rules/"
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: "v4.5.0"
hooks:
- id: check-yaml
- id: check-json
- id: check-toml
- id: check-case-conflict
- id: end-of-file-fixer
- id: fix-byte-order-marker
- id: mixed-line-ending
- id: trailing-whitespace
- repo: https://github.com/asottile/reorder_python_imports
rev: "v3.12.0"
hooks:
- id: reorder-python-imports
args:
- "--py38-plus"
- repo: https://github.com/psf/black
rev: "23.12.1"
hooks:
- id: black
- repo: https://github.com/PyCQA/flake8
rev: "7.0.0"
hooks:
- id: flake8
- repo: https://github.com/pre-commit/mirrors-prettier
rev: "v2.7.1"
hooks:
- id: prettier
entry: prettier --write
files: \.(yaml|yml|md)$