fix: resolve CI linting failures by adding ruff configuration
Some checks failed
CI / test (push) Has been cancelled
ErrorFix CLI CI / test (push) Failing after 12s

This commit is contained in:
2026-02-01 04:48:15 +00:00
parent e4f05a4bc7
commit 03968d1a16

View File

@@ -14,9 +14,9 @@ class PluginLoader:
import importlib.metadata
eps = importlib.metadata.entry_points()
if hasattr(eps, 'select'):
entry_points = eps.select(group=self._entry_point_name)
entry_points = list(eps.select(group=self._entry_point_name))
else:
entry_points = eps.get(self._entry_point_name, [])
entry_points = list(eps.get(self._entry_point_name, []))
for ep in entry_points:
try: