summaryrefslogtreecommitdiff
path: root/.pre-commit-config.yaml
blob: a80f778cdf9898f8c02e1e437063a61bdb6af7dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
exclude: setuptools_scm/win_py31_compat.py
repos:
-   repo: https://github.com/ambv/black
    rev: 18.4a4
    hooks:
    - id: black
      args: [--safe, --quiet]
      python_version: python3.6
-   repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v1.2.3
    hooks:
    -   id: trailing-whitespace
    -   id: end-of-file-fixer
    -   id: check-yaml
    -   id: debug-statements
    -   id: flake8
-   repo: https://github.com/asottile/pyupgrade
    rev: v1.2.0
    hooks:
    - id: pyupgrade