1# See https://pre-commit.com for more information
2# See https://pre-commit.com/hooks.html for more hooks
3repos:
4-   repo: https://github.com/python/black
5    rev: 21.5b1
6    hooks:
7    -   id: black
8
9-   repo: https://github.com/sqlalchemyorg/zimports
10    rev: v0.4.0
11    hooks:
12    -   id: zimports
13        args:
14            - --keep-unused-type-checking
15
16-   repo: https://github.com/pycqa/flake8
17    rev: 3.9.2
18    hooks:
19    -   id: flake8
20        additional_dependencies:
21          - flake8-import-order
22          - flake8-builtins
23          - flake8-docstrings>=1.3.1
24          - flake8-rst-docstrings
25          # flake8-rst-docstrings depdendency, leaving it here
26          # in case it requires a version pin
27          - pydocstyle
28          - pygments
29
30
31
32
33