diff --git a/pyproject.toml b/pyproject.toml index e4da9ca6..549144e2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -93,7 +93,6 @@ warn_unused_configs = true warn_unused_ignores = true warn_return_any = true show_error_codes = true -disallow_any_unimported = true [[tool.mypy.overrides]] ignore_missing_imports = true @@ -104,5 +103,5 @@ module = [ "sentence_transformers.*", "moviepy.*", "e2b_code_interpreter.*", - "e2b.*", + "e2b.*" ] diff --git a/vision_agent/utils/execute.py b/vision_agent/utils/execute.py index 0c058fe4..b157b1df 100644 --- a/vision_agent/utils/execute.py +++ b/vision_agent/utils/execute.py @@ -209,7 +209,7 @@ def formats(self) -> Iterable[str]: return formats @staticmethod - def from_e2b_result(result: E2BResult) -> "Result": # type: ignore + def from_e2b_result(result: E2BResult) -> "Result": """ Creates a Result object from an E2BResult object. """ @@ -361,7 +361,7 @@ def from_exception(exec: Exception, traceback_raw: List[str]) -> "Execution": ) @staticmethod - def from_e2b_execution(exec: E2BExecution) -> "Execution": # type: ignore + def from_e2b_execution(exec: E2BExecution) -> "Execution": """Creates an Execution object from an E2BResult object.""" return Execution( results=[Result.from_e2b_result(res) for res in exec.results],