- repo: git://github.com/python-telegram-bot/mirrors-yapf sha: master hooks: - id: yapf files: ^(telegram|tests)/.*\.py$ args: - --diff - repo: git://github.com/pre-commit/pre-commit-hooks sha: v2.0.0 hooks: - id: flake8 exclude: ^(setup.py|docs/source/conf.py)$ args: - --ignore=W605,W503 - repo: git://github.com/pre-commit/mirrors-pylint sha: v1.7.1 hooks: - id: pylint files: ^telegram/.*\.py$ args: - --errors-only - --disable=import-error