darglint fix
This commit is contained in:
parent
cbe5a8f9d8
commit
c5595e9dfd
@ -532,7 +532,11 @@ class CodeBlock(Component, MarkdownComponentMap):
|
|||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def _get_language_registration_hook(cls) -> str:
|
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"""
|
return f"""
|
||||||
if ({str(_LANGUAGE)}) {{
|
if ({str(_LANGUAGE)}) {{
|
||||||
(async () => {{
|
(async () => {{
|
||||||
|
Loading…
Reference in New Issue
Block a user