-
Notifications
You must be signed in to change notification settings - Fork 1
/
.pre-commit-config.yaml
60 lines (58 loc) · 1.39 KB
/
.pre-commit-config.yaml
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
49
50
51
52
53
54
55
56
57
58
59
60
minimum_pre_commit_version: 2.3.0
repos:
- repo: local
hooks:
- id: ruff
name: ruff
language: system
entry: ruff check
exclude: &default-py-exclude |
(?x)^(
LICENSE|
logo.png|
README.md|
Makefile|
.bumpversion.cfg|
CHANGELOG.md|
.coveragerc|
.gitchangelog.rc|
pytest.ini|
.github/.+|
.paylocity/.+|
.env\..+|
Dockerfile|
.gitignore|
.pre-commit-config.yaml|
.editorconfig|
MANIFEST.in|
pcty_features_donkey/VERSION|
pdm.lock|
datadog.json|
pyproject.toml
)
- id: black
name: black
language: system
entry: black
types: [python]
exclude: *default-py-exclude
- id: isort
name: isort
language: system
entry: isort
types: [python]
exclude: *default-py-exclude
- id: mypy
name: mypy
language: system
entry: mypy
types: [python]
exclude: *default-py-exclude
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
- id: check-json
- id: check-toml
- id: check-yaml