From df813c46e1f17538b6ec6ed93a4422efc18784e6 Mon Sep 17 00:00:00 2001 From: Jasmin Bom Date: Thu, 28 Feb 2019 22:02:08 +0100 Subject: [PATCH] Pin pre-commit pylint to v2.3.0 Fixes issue seen at https://travis-ci.org/python-telegram-bot/python-telegram-bot/jobs/499853384#L702 --- .pre-commit-config.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b6d9a3faf..e725e2821 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,19 +1,20 @@ +repos: - repo: git://github.com/python-telegram-bot/mirrors-yapf - sha: master + rev: master hooks: - id: yapf files: ^(telegram|tests)/.*\.py$ args: - --diff - repo: git://github.com/pre-commit/pre-commit-hooks - sha: v2.0.0 + rev: 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: v2.2.2 + rev: v2.3.0 hooks: - id: pylint files: ^telegram/.*\.py$