From 5b48538985ca8cd037958fa9c6d0c15933bef473 Mon Sep 17 00:00:00 2001 From: anabellabuckvar <41971124+anabellabuckvar@users.noreply.github.com> Date: Mon, 10 Feb 2025 09:17:28 -0800 Subject: [PATCH] fix/branch-option linting --- snooty/parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snooty/parser.py b/snooty/parser.py index 4b5da6e8..0030fdbe 100644 --- a/snooty/parser.py +++ b/snooty/parser.py @@ -1754,7 +1754,7 @@ def __init__( if custom_branch: branch = custom_branch - else: + else: try: branch = subprocess.check_output( ["git", "rev-parse", "--abbrev-ref", "HEAD"],