From c5595e9dfde1657137c95eca0371eb97c9ec4b53 Mon Sep 17 00:00:00 2001 From: Elijah Date: Thu, 31 Oct 2024 16:42:34 +0000 Subject: [PATCH] darglint fix --- reflex/components/datadisplay/code.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/reflex/components/datadisplay/code.py b/reflex/components/datadisplay/code.py index a8658127f..d0d481d68 100644 --- a/reflex/components/datadisplay/code.py +++ b/reflex/components/datadisplay/code.py @@ -532,7 +532,11 @@ class CodeBlock(Component, MarkdownComponentMap): @classmethod def _get_language_registration_hook(cls) -> str: - """Get the hook to register the language.""" + """Get the hook to register the language. + + Returns: + The hook to register the language. + """ return f""" if ({str(_LANGUAGE)}) {{ (async () => {{