-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
35 lines (35 loc) · 996 Bytes
/
.pre-commit-config.yaml
File metadata and controls
35 lines (35 loc) · 996 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
35
# 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.0.1
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- id: check-json
- repo: https://github.com/pycqa/isort
rev: 5.9.2
hooks:
- id: isort
types: [python]
args: ["--profile", "black"]
- repo: https://github.com/asottile/pyupgrade
rev: v2.23.0
hooks:
- id: pyupgrade
types: [python]
- repo: https://github.com/psf/black
rev: 21.7b0
hooks:
- id: black
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.910
hooks:
- id: mypy
additional_dependencies: [pydantic, types-requests]
- repo: https://github.com/sondrelg/pep585-upgrade
rev: "ab1595ee0aa8823dcda1f0bd95b2c194fcd5362b"
hooks:
- id: upgrade-type-hints