/ .pre-commit-config.yaml
.pre-commit-config.yaml
 1  exclude: patches
 2  repos:
 3  -   repo: https://github.com/pre-commit/pre-commit-hooks
 4      rev: v4.0.1
 5      hooks:
 6          - id: end-of-file-fixer
 7          - id: trailing-whitespace
 8  - repo: https://github.com/psf/black
 9    rev: 21.6b0
10    hooks:
11          - id: black
12  -   repo: https://github.com/pycqa/pylint
13      rev: v2.9.3
14      hooks:
15      -   id: pylint
16          name: pylint
17          types: [python]