diff --git a/taipy/config/stubs/generate_pyi.py b/taipy/config/stubs/generate_pyi.py index 5c8fe6f667..5c6f6a9d04 100644 --- a/taipy/config/stubs/generate_pyi.py +++ b/taipy/config/stubs/generate_pyi.py @@ -14,7 +14,7 @@ from pathlib import Path from typing import List -_end_doc = re.compile(r'\"\"\"\s*(#\s*noqa:\s*E501)?\s*\n') +_end_doc = re.compile(r'\"\"\"\s*(#\s*noqa\s*:\s*E501)?\s*\n') def _get_function_delimiters(initial_line, lines): begin = end = initial_line