From 2a74ce008092644853760cdd74d963ddd1b547c8 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Wed, 25 Jun 2025 08:21:32 +0800 Subject: [PATCH] doc/_ext: Remove unnecessary f-string formatting Replace f-string with plain string when no variable interpolation is needed. The f-string "" contains no placeholders or variables, making the f-prefix unnecessary. Using a plain string is more appropriate and slightly more efficient. Signed-off-by: Kefu Chai --- doc/_ext/ceph_confval.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/_ext/ceph_confval.py b/doc/_ext/ceph_confval.py index f515732bcbb..b997224ce4e 100644 --- a/doc/_ext/ceph_confval.py +++ b/doc/_ext/ceph_confval.py @@ -163,7 +163,7 @@ def literal(name) -> str: if name: return f'``{name}``' else: - return f'' + return '' def ref_confval(name) -> str: -- 2.39.5