mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-04-14 15:02:37 +00:00
LINTER
This commit is contained in:
@@ -468,13 +468,13 @@ def get_flows(flow_path: str = "main.py") -> list[Flow]:
|
||||
module_attr
|
||||
):
|
||||
flow_instances.append(flow_instance)
|
||||
except Exception:
|
||||
except Exception: # noqa: S112
|
||||
continue
|
||||
|
||||
if flow_instances:
|
||||
break
|
||||
|
||||
except Exception:
|
||||
except Exception: # noqa: S112
|
||||
continue
|
||||
|
||||
except (ImportError, AttributeError):
|
||||
@@ -483,7 +483,7 @@ def get_flows(flow_path: str = "main.py") -> list[Flow]:
|
||||
if flow_instances:
|
||||
break
|
||||
|
||||
except Exception:
|
||||
except Exception: # noqa: S110
|
||||
pass
|
||||
|
||||
return flow_instances
|
||||
|
||||
Reference in New Issue
Block a user