summaryrefslogtreecommitdiff
path: root/.pre-commit-config.yaml
blob: cd2bf19f8ec5546fd085efe1ab54091545339c84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
-   repo: https://github.com/python/black
    rev: 21.5b1
    hooks:
    -   id: black

-   repo: https://github.com/sqlalchemyorg/zimports
    rev: v0.4.0
    hooks:
    -   id: zimports
        args:
            - --keep-unused-type-checking

-   repo: https://github.com/pycqa/flake8
    rev: 3.9.2
    hooks:
    -   id: flake8
        additional_dependencies:
          - flake8-import-order
          - flake8-builtins
          - flake8-docstrings>=1.3.1
          - flake8-rst-docstrings
          - pydocstyle
          - pygments