summaryrefslogtreecommitdiffstats
path: root/.pre-commit-config.yaml
blob: 354b2d819a1e82aa55ab16d0d021cfbabd892649 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
-   repo: https://github.com/psf/black
    rev: 20.8b1
    hooks:
    - id: black
      args: ['--target-version', 'py37', '--skip-string-normalization', '--line-length', '110']
-   repo: https://github.com/asottile/pyupgrade
    rev: v2.20.0
    hooks:
    - id: pyupgrade
      args: ['--keep-percent-format', '--py37-plus']