From decdc815e3ba6d94d06ad0cdae959e8894ac2a10 Mon Sep 17 00:00:00 2001 From: rikkolovescats Date: Tue, 16 May 2023 23:39:05 +0000 Subject: [PATCH] [ci] auto-format --- plugin_manager.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugin_manager.py b/plugin_manager.py index 6c3d3c8..3cf728d 100644 --- a/plugin_manager.py +++ b/plugin_manager.py @@ -41,7 +41,9 @@ HEADERS = { "User-Agent": _env["user_agent_string"], } PLUGIN_DIRECTORY = _env["python_directory_user"] -_regexp_friendly_class_name_shortcut = lambda string: string.replace(".", "\.") +def _regexp_friendly_class_name_shortcut(string): return string.replace(".", "\.") + + REGEXP = { "plugin_api_version": re.compile(b"(?<=ba_meta require api )(.*)"), "plugin_entry_points": re.compile(