repos: - repo: https://github.com/ambv/black rev: 21.6b0 hooks: - id: black language_version: python3.7 - repo: https://gitlab.com/pycqa/flake8 rev: 3.9.2 hooks: - id: flake8 args: - "--config=setup.cfg"