From: Kefu Chai Date: Wed, 25 Jun 2025 00:21:32 +0000 (+0800) Subject: doc/_ext: Remove unnecessary f-string formatting X-Git-Tag: testing/wip-vshankar-testing-20250721.155223-debug~62^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=2a74ce008092644853760cdd74d963ddd1b547c8;p=ceph-ci.git 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 --- 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: