fix: resolve CI linting failures by adding ruff configuration
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user