forked from paulskeie/PyAPNs2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
80 lines (80 loc) · 2.06 KB
/
.pre-commit-config.yaml
File metadata and controls
80 lines (80 loc) · 2.06 KB
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
---
default_language_version:
python: python3.13
repos:
- repo: https://github.com/compilerla/conventional-pre-commit
rev: v4.3.0
hooks:
- id: conventional-pre-commit
stages:
- commit-msg
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.14.2
hooks:
- id: ruff-format
args:
- --preview
stages:
- pre-commit
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.9.4
hooks:
- id: ruff
args:
- --fix
- --preview
- --exit-non-zero-on-fix
stages:
- pre-commit
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: check-merge-conflict
stages:
- pre-commit
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: trailing-whitespace
exclude: ^notification/tests/.*\.[html|txt]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: debug-statements
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: no-commit-to-branch
args:
- --branch=master
- --branch=develop
stages:
- pre-commit
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.18.2
hooks:
- id: mypy
args: [ "--disallow-untyped-defs", "--disable-error-code=misc" ]
stages:
- pre-commit
additional_dependencies:
- types-freezegun
- types-requests
- types-redis
- types-python-dateutil
- types-pytz
- types-setuptools
- types-chardet
- types-retry
- types-six
- types-mock
- types-cachetools
- pytest
exclude: |
(?x)^(
qustodio/settings/.*.py |
qustodio/third_party/mschap/.*.py |
qustodio/third_party/huawei/push_admin/.*.py |
scripts/.*.py |
requirements/.*.py
)$