repos:
- repo: https://github.com/ambv/black
  rev: 18.9b0
  hooks:
  - id: black
    language_version: python3
- repo: https://github.com/asottile/blacken-docs
  rev: v0.3.0
  hooks:
  - id: blacken-docs
    additional_dependencies: [black==18.9b0]
- repo: https://github.com/asottile/pyupgrade
  rev: v1.11.1
  hooks:
  - id: pyupgrade
- repo: https://github.com/pre-commit/pre-commit-hooks
  rev: v2.1.0
  hooks:
  - id: trailing-whitespace
  - id: end-of-file-fixer
  - id: check-yaml
  - id: check-ast
  - id: mixed-line-ending
    args: ["--fix=lf"]
  - id: debug-statements
  - id: flake8
    additional_dependencies: [flake8-bugbear]

repos:
- repo: https://github.com/ambv/black
  rev: 18.9b0
  hooks:
  - id: black
    language_version: python3
- repo: https://github.com/asottile/blacken-docs
  rev: v0.3.0
  hooks:
  - id: blacken-docs
    additional_dependencies: [black==18.9b0]
- repo: https://github.com/asottile/pyupgrade
  rev: v1.11.1
  hooks:
  - id: pyupgrade
- repo: https://github.com/pre-commit/pre-commit-hooks
  rev: v2.1.0
  hooks:
  - id: trailing-whitespace
  - id: end-of-file-fixer
  - id: check-yaml
  - id: check-ast
  - id: mixed-line-ending
    args: ["--fix=lf"]
  - id: debug-statements
- repo: https://gitlab.com/pycqa/flake8
  rev: 3.7.5
  hooks:
  - id: flake8

Use stand-alone flake8 pre-commit hook
Use stand-alone flake8 pre-commit hook
