mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-09-06 20:16:47 +00:00
🧑💻 Develop: 添加 ruff RUF 规则 (#2598)
Co-authored-by: Ju4tCode <42488585+yanyongyu@users.noreply.github.com>
This commit is contained in:
@ -236,7 +236,7 @@ class PluginLoader(SourceFileLoader):
|
||||
break
|
||||
|
||||
# enter plugin context
|
||||
_plugin_token = _current_plugin_chain.set(parent_plugins + (plugin,))
|
||||
_plugin_token = _current_plugin_chain.set((*parent_plugins, plugin))
|
||||
|
||||
try:
|
||||
super().exec_module(module)
|
||||
|
Reference in New Issue
Block a user