summaryrefslogtreecommitdiff
path: root/.pre-commit-config.yaml
blob: 8b63a92b4101fdb14fda4b5ed14ae6f18fc5c0d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
repos:
  - repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v4.0.1
    hooks:
      - id: check-toml
      - id: debug-statements
      - id: end-of-file-fixer
      - id: trailing-whitespace
      - id: mixed-line-ending
        args: ["--fix=lf"]
  - repo: https://github.com/psf/black
    rev: 21.12b0
    hooks:
      - id: black
        language_version: python3.7
  -  repo: https://github.com/pycqa/isort
     rev: 5.10.1
     hooks:
     - id: isort
  -  repo: https://github.com/csachs/pyproject-flake8
     rev: v0.0.1a2.post1
     hooks:
     - id: pyproject-flake8