.pre-commit-config.yaml 889 Bytes
Newer Older
1
repos:
2
  - repo: local
3
    hooks:
4
5
6
7
8
9
10
11
12
13
14
      - id: format-isort
        name: format-isort
        language: python
        entry: make format-isort
        pass_filenames: false
      - id: format-yapf
        name: format-yapf
        language: python
        entry: make format-yapf
        pass_filenames: false
  - repo: https://github.com/PyCQA/docformatter
15
16
    rev: v1.4
    hooks:
17
18
19
20
21
22
23
24
25
26
      - id: docformatter
        args:
          [
            --in-place,
            --wrap-summaries=80,
            --wrap-descriptions=80,
            --pre-summary-newline,
          ]
  - repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v4.3.0
Jonas Kaufmann's avatar
Jonas Kaufmann committed
27
    hooks:
28
29
30
31
32
33
34
35
36
37
      - id: double-quote-string-fixer
        types:
          - "python"
      - id: end-of-file-fixer
        types:
          - "python"
      - id: trailing-whitespace
        types:
          - "python"
      - id: check-ast