-
Notifications
You must be signed in to change notification settings - Fork 1
/
.pre-commit-config.yaml
61 lines (61 loc) · 1.53 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
61
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: check-byte-order-marker
- id: check-case-conflict
- id: check-executables-have-shebangs
- id: check-json
- id: check-merge-conflict
- id: check-shebang-scripts-are-executable
- id: check-toml
- id: debug-statements
- id: detect-private-key
- id: end-of-file-fixer
exclude: '.*\.golden$'
- id: mixed-line-ending
- id: name-tests-test
- id: trailing-whitespace
exclude: '.*\.golden$'
- repo: https://github.com/tox-dev/pyproject-fmt
rev: 2.2.1
hooks:
- id: pyproject-fmt
- repo: https://github.com/google/yamlfmt
rev: v0.13.0
hooks:
- id: yamlfmt
- repo: https://github.com/adrienverge/yamllint
rev: v1.35.1
hooks:
- id: yamllint
- repo: https://github.com/executablebooks/mdformat
rev: 0.7.17
hooks:
- id: mdformat
additional_dependencies:
- mdformat-config
- mdformat-toc
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.7
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
- id: ruff-format
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.11.1
hooks:
- id: mypy
additional_dependencies:
# primary dependencies (corresponds to pyproject.toml)
- arrow>=1,<2
- backports-zoneinfo; python_version<'3.9'
- boto3-stubs[boto3,s3]>=1,<2
- cfgv>=3,<4
- types-pyyaml>=6,<7
- rich>=13,<14
- typing-extensions>=4.4,<5
# test dependencies (corresponds to test-requirements.txt)
- moto[s3]>=5,<6
- pytest>=8,<9
args: []