From 0b55bc223375731ff0307f173cf6dd071cf8088b Mon Sep 17 00:00:00 2001 From: rikkolovescats Date: Tue, 20 Jun 2023 19:26:47 +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 c0b69da..f7866ad 100644 --- a/plugin_manager.py +++ b/plugin_manager.py @@ -42,7 +42,9 @@ HEADERS = { } 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 )(.*)"),