From d800f5d3f57f8569a1e1cdb7542bc8bf387d1ec4 Mon Sep 17 00:00:00 2001 From: Anil Belur Date: Sat, 3 Apr 2021 07:48:48 +1000 Subject: [PATCH] Add workaround for GH black stable branch 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 --- .pre-commit-config.yaml | 2 +- docs/project-documentation.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7038de5..64926ba 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -17,7 +17,7 @@ repos: - id: gitlint - repo: https://github.com/ambv/black - rev: stable + rev: 20.8b1 hooks: - id: black diff --git a/docs/project-documentation.rst b/docs/project-documentation.rst index f601b48..dee008e 100644 --- a/docs/project-documentation.rst +++ b/docs/project-documentation.rst @@ -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 -- 2.16.6