-
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: b965c2a5026f8ba399283ba3e01898b012853c79 # frozen: 24.8.0
hooks:
- id: black
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: 2c9f875913ee60ca25ce70243dc24d5b6415598c # frozen: v4.6.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: e43806be3607110919eff72939fda031776e885a # frozen: 7.1.1
hooks:
- id: flake8
language_version: python3
- repo: https://github.com/asottile/reorder-python-imports
rev: e77caa8638839e934828a1968ce30a9ee4f3f509 # frozen: v3.13.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: d4911cfb7f1010759fde68da196036feeb25b99d # frozen: v1.11.2
hooks:
- id: mypy
additional_dependencies:
- "types-PyYAML"
- "types-cachetools"
- "types-requests"