Add workaround for GH black stable branch 10/67310/2
authorAnil Belur <abelur@linuxfoundation.org>
Fri, 2 Apr 2021 21:48:48 +0000 (07:48 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Fri, 2 Apr 2021 22:48:55 +0000 (08:48 +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.

Update broken link.

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

index 7038de5..64926ba 100644 (file)
@@ -17,7 +17,7 @@ repos:
       - id: gitlint
 
   - repo: https://github.com/ambv/black
-    rev: stable
+    rev: 20.8b1
     hooks:
       - id: black
 
index f601b48..dee008e 100644 (file)
@@ -268,4 +268,4 @@ links listed as ``std:label`` refer to the ``:ref:`` syntax.
    :caption: Example lf-docs objects.inv
 
 .. _intersphinx: http://www.sphinx-doc.org/en/master/usage/extensions/intersphinx.html
-.. _linking: http://www.sphinx-doc.org/en/1.7/markup/inline.html
+.. _linking: https://www.sphinx-doc.org/en/master/usage/restructuredtext/basics.html#inline-markup