Skip to content

Commit

Permalink
Apply Black, refs #378
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed Jan 26, 2024
1 parent d9d9bb3 commit ed5a535
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion llm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit ed5a535

Please sign in to comment.