.pre-commit-config.yaml 726 Bytes
Newer Older
lizz's avatar
lizz committed
1
exclude: ^tests/data/
Kai Chen's avatar
Kai Chen committed
2
repos:
3
4
5
6
- repo: https://gitlab.com/pycqa/flake8
  rev: 3.7.9
  hooks:
    - id: flake8
Kai Chen's avatar
Kai Chen committed
7
- repo: https://github.com/asottile/seed-isort-config
8
  rev: v2.1.0
Kai Chen's avatar
Kai Chen committed
9
  hooks:
10
11
12
    - id: seed-isort-config
- repo: https://github.com/timothycrosley/isort
  rev: 4.3.21
lizz's avatar
lizz committed
13
14
  hooks:
      - id: isort
Kai Chen's avatar
Kai Chen committed
15
16
17
18
19
- repo: https://github.com/pre-commit/mirrors-yapf
  rev: v0.29.0
  hooks:
    - id: yapf
- repo: https://github.com/pre-commit/pre-commit-hooks
20
  rev: v2.5.0
Kai Chen's avatar
Kai Chen committed
21
22
23
24
25
  hooks:
    - id: trailing-whitespace
    - id: check-yaml
    - id: end-of-file-fixer
    - id: requirements-txt-fixer
26
27
28
    - id: double-quote-string-fixer
    - id: fix-encoding-pragma
      args: ["--remove"]
29
30
    - id: mixed-line-ending
      args: ["--fix=lf"]