-
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
34 lines (30 loc) · 850 Bytes
/
Copy path.pre-commit-config.yaml
File metadata and controls
34 lines (30 loc) · 850 Bytes
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
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.971
hooks:
- id: mypy
exclude: ^tests/
- repo: https://github.com/psf/black
rev: 22.6.0
hooks:
- id: black
exclude: ^tests/
- repo: https://github.com/PyCQA/flake8
rev: 5.0.3
hooks:
- id: flake8
args:
- "--max-line-length=88"
- repo: https://github.com/pycqa/isort
rev: 5.12.0
hooks:
- id: isort