Add temp workaround for GH black branch 52/95652/1
authorAnil Belur <abelur@linuxfoundation.org>
Fri, 2 Apr 2021 07:24:35 +0000 (17:24 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Fri, 2 Apr 2021 07:27:05 +0000 (17:27 +1000)
The 'stable' branch on black repo has been removed.
Add workaround to point to branch/rev to '20.8b1'
until the issue is resolved.

GH Issue: https://github.com/psf/black/issues/2079
Change-Id: I5f19f83f8aaf315056541547530367be9ee67db5
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
.pre-commit-config.yaml

index d8494c9663327e5ad32509cc6e0024647b05eaa7..ca5cf7fbb4f65c9a3e61a06eb35a823f8fa143c3 100644 (file)
@@ -31,7 +31,7 @@ repos:
           )$
 
   - repo: https://github.com/ambv/black
-    rev: stable
+    rev: 20.8b1
     hooks:
       - id: black