forked from pytorch/text
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
35 lines (32 loc) · 775 Bytes
/
.pre-commit-config.yaml
File metadata and controls
35 lines (32 loc) · 775 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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
hooks:
- id: trailing-whitespace
- id: mixed-line-ending
args:
- --fix=lf
- id: end-of-file-fixer
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.5.1
hooks:
- id: prettier
types_or:
- markdown
- toml
- yaml
- repo: https://github.com/omnilib/ufmt
rev: v1.3.1
hooks:
- id: ufmt
additional_dependencies:
- black == 21.4b2
- usort == 0.6.4
- repo: https://github.com/pycqa/flake8
rev: 4.0.1
hooks:
- id: flake8
additional_dependencies:
- flake8-docstrings == 1.6.0
args:
- --config=.flake8