.pre-commit-config.yaml 765 Bytes
Newer Older
1
repos:
2
3
4
5
6
7
8
  - repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v4.0.1
    hooks:
      - id: check-docstring-first
      - id: check-toml
      - id: check-yaml
        exclude: packaging/.*
9
10
      - id: mixed-line-ending
        args: [--fix=lf]
11
12
      - id: end-of-file-fixer

13
14
15
16
17
18
19
20
# TODO: re-enable after https://github.com/omnilib/ufmt/issues/56 is resolved
#  - repo: https://github.com/omnilib/ufmt
#    rev: v1.3.0
#    hooks:
#      - id: ufmt
#        additional_dependencies:
#          - black == 21.9b0
#          - usort == 0.6.4
21

22
23
24
25
26
  - repo: https://gitlab.com/pycqa/flake8
    rev: 3.9.2
    hooks:
      - id: flake8
        args: [--config=setup.cfg]
Philip Meier's avatar
Philip Meier committed
27
28
29
30
31

  - repo: https://github.com/PyCQA/pydocstyle
    rev: 6.1.1
    hooks:
      - id: pydocstyle