From 0cce80a6c580edb3a76364e45ae0cee3257f3363 Mon Sep 17 00:00:00 2001 From: BlackAngelTV Date: Wed, 25 Nov 2026 21:17:35 +0100 Subject: [PATCH] style(docs): match the ruff format used by CI --- docs/conf.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 9dc940a..21dce71 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -230,9 +230,7 @@ def commit_role( url = f'https://github.com/kovidgoyal/kitty/commit/{commit_id}' options = normalize_options(options) try: - short_id = subprocess.check_output( - f'git rev-list --max-count=1 --abbrev-commit {commit_id}'.split(), stderr=subprocess.DEVNULL - ).decode('utf-8').strip() + short_id = subprocess.check_output(f'git rev-list --max-count=1 --abbrev-commit {commit_id}'.split(), stderr=subprocess.DEVNULL).decode('utf-8').strip() except Exception: short_id = commit_id node = nodes.reference(rawtext, f'commit: {short_id}', refuri=url, **options)