summaryrefslogtreecommitdiff
path: root/.pre-commit-config.yaml
blob: 05cd5202658a43906bb367bd9ca817b63479e255 (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
28
- repo: git://github.com/pre-commit/pre-commit-hooks
  sha: 'v0.9.1'
  hooks:
    - id: check-added-large-files
    - id: check-docstring-first
    - id: check-merge-conflict
    - id: check-yaml
    - id: check-json
    - id: debug-statements
    - id: end-of-file-fixer
    - id: flake8
    - id: name-tests-test
      exclude: 'tests/(integration/testcases\.py|helpers\.py)'
    - id: requirements-txt-fixer
    - id: trailing-whitespace
- repo: git://github.com/asottile/reorder_python_imports
  sha: v1.3.4
  hooks:
    - id: reorder-python-imports
      language_version: 'python3.7'
      args:
         - --py3-plus
-   repo: https://github.com/asottile/pyupgrade
    rev: v2.1.0
    hooks:
    -   id: pyupgrade
        args:
          - --py3-plus