mirror of
https://github.com/Hopiu/llm.git
synced 2026-05-23 21:05:49 +00:00
Apply Black, refs #378
This commit is contained in:
parent
d9d9bb38d7
commit
ed5a535484
1 changed files with 3 additions and 1 deletions
|
|
@ -53,7 +53,9 @@ def get_plugins(all=False):
|
|||
distinfo = plugin_to_distinfo.get(plugin)
|
||||
if distinfo:
|
||||
plugin_info["version"] = distinfo.version
|
||||
plugin_info["name"] = getattr(distinfo, 'name', None) or distinfo.project_name
|
||||
plugin_info["name"] = (
|
||||
getattr(distinfo, "name", None) or distinfo.project_name
|
||||
)
|
||||
plugins.append(plugin_info)
|
||||
return plugins
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue