Diff of /.pre-commit-config.yaml [000000] .. [6d389a]

Switch to unified view

a b/.pre-commit-config.yaml
1
exclude: ^tests/data/
2
repos:
3
  - repo: https://gitlab.com/pycqa/flake8.git
4
    rev: 3.8.3
5
    hooks:
6
      - id: flake8
7
  - repo: https://github.com/asottile/seed-isort-config
8
    rev: v2.2.0
9
    hooks:
10
      - id: seed-isort-config
11
  - repo: https://github.com/timothycrosley/isort
12
    rev: 4.3.21
13
    hooks:
14
      - id: isort
15
  - repo: https://github.com/pre-commit/mirrors-yapf
16
    rev: v0.30.0
17
    hooks:
18
      - id: yapf
19
  - repo: https://github.com/pre-commit/pre-commit-hooks
20
    rev: v3.1.0
21
    hooks:
22
      - id: trailing-whitespace
23
      - id: check-yaml
24
      - id: end-of-file-fixer
25
      - id: requirements-txt-fixer
26
      - id: double-quote-string-fixer
27
      - id: check-merge-conflict
28
      - id: fix-encoding-pragma
29
        args: ["--remove"]
30
      - id: mixed-line-ending
31
        args: ["--fix=lf"]
32
  - repo: https://github.com/markdownlint/markdownlint
33
    rev: v0.11.0
34
    hooks:
35
      - id: markdownlint
36
        args: [ "-r", "~MD002,~MD013,~MD024,~MD029,~MD033,~MD034,~MD036" ]
37
  - repo: https://github.com/myint/docformatter
38
    rev: v1.3.1
39
    hooks:
40
      - id: docformatter
41
        args: ["--in-place", "--wrap-descriptions", "79"]
42
  - repo: https://github.com/codespell-project/codespell
43
    rev: v2.1.0
44
    hooks:
45
      - id: codespell
46
        args: ["--skip", "*.ipynb,tools/data/hvu/label_map.json", "-L", "te,nd,thre,Gool,gool"]
47
  # - repo: https://github.com/open-mmlab/pre-commit-hooks
48
    # rev: v0.1.0  # Use the ref you want to point at
49
    # hooks:
50
      # - id: check-algo-readme
51
      # - id: check-copyright
52
        # args: ["mmaction", "tools", "tests"]  # these directories will be checked