From 7626cfd4425cfbf7953a06c01619ce989f8c8ec1 Mon Sep 17 00:00:00 2001 From: Blaine Gardner Date: Wed, 1 Feb 2023 16:43:28 -0700 Subject: [PATCH] docs: fix lint error in doc generating python code The latest python black stable release started flagging a newline between a function `def` and the function body. Remove said newline. Signed-off-by: Blaine Gardner (cherry picked from commit 19fb3869903c6a6534beab8160698bc8e95dd14c) --- .docs/macros/includes/main.py | 1 - 1 file changed, 1 deletion(-) diff --git a/.docs/macros/includes/main.py b/.docs/macros/includes/main.py index 332abd794..253caff74 100644 --- a/.docs/macros/includes/main.py +++ b/.docs/macros/includes/main.py @@ -12,7 +12,6 @@ subst = "\\1/%s/" def define_env(env): - repo = Repository(".") if repo is not None: target = repo.head.shorthand