From c7744007d1e93e29594e1fb003ccee93344d72e5 Mon Sep 17 00:00:00 2001 From: Chinni Chaitanya Date: Sun, 7 Feb 2021 12:57:32 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Use=20the=20tag=20version=20for?= =?UTF-8?q?=20black=20in=20pre-commit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The recent revisions of the pre-commit integration with black has specified to use the version instead of a constant branch name like `stable` so that it could be updated seemlessly using `pre-commit autoupdate`. For reference, - https://pre-commit.com/#using-the-latest-version-for-a-repository - https://github.com/pre-commit/pre-commit/issues/1354 - https://github.com/psf/black#version-control-integration - https://github.com/psf/black/issues/420 --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1c4400d..d3c90e4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/python/black - rev: stable + rev: 20.8b1 hooks: - id: black language_version: python3.6