-
Notifications
You must be signed in to change notification settings - Fork 3
/
.pre-commit-config.yaml
42 lines (37 loc) · 1.27 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
repos:
- repo: https://github.com/psf/black
rev: 1b2427a2b785cc4aac97c19bb4b9a0de063f9547 # frozen: 24.10.0
hooks:
- id: black
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: cef0300fd0fc4d2a87a85fa2093c6b283ea36f4b # frozen: v5.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- id: debug-statements
language_version: python3
- repo: https://github.com/PyCQA/flake8
rev: cf1542cefa3e766670b2066dd75c4571d682a649 # frozen: 7.1.1
hooks:
- id: flake8
language_version: python3
- repo: https://github.com/asottile/reorder-python-imports
rev: fd0b4e1292716bcd12a396b86af1d1271aaaa62c # frozen: v3.14.0
hooks:
- id: reorder-python-imports
- repo: https://github.com/codespell-project/codespell
rev: 193cd7d27cd571f79358af09a8fb8997e54f8fff # frozen: v2.3.0
hooks:
- id: codespell
additional_dependencies:
- tomli
- repo: https://github.com/pre-commit/mirrors-mypy
rev: f56614daa94d5cd733d3b7004c5df9caad267b4a # frozen: v1.13.0
hooks:
- id: mypy
additional_dependencies:
- "types-PyYAML"
- "types-cachetools"
- "types-requests"