summaryrefslogtreecommitdiffstats
path: root/third_party/python/pip-tools/.pre-commit-config.yaml
blob: cb06e17f0754c9db9e1fadcf6825e09619782ea6 (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
repos:
  - repo: https://github.com/psf/black
    rev: 19.10b0
    hooks:
    - id: black
      language_version: python3
  - repo: https://github.com/pre-commit/mirrors-isort
    rev: v4.3.21
    hooks:
    - id: isort
      language_version: python3
  - repo: https://gitlab.com/pycqa/flake8
    rev: 3.8.1
    hooks:
    - id: flake8
      language_version: python3
      additional_dependencies:
      - flake8-pytest-style
  - repo: https://github.com/PyCQA/bandit
    rev: 1.6.2
    hooks:
    - id: bandit
      language_version: python3
      exclude: ^tests/