A programming framework for agentic AI
Delete python/mypy_plugin.py (#4796)
Jack Gerrits428d59465806
diff --git a/python/mypy_plugin.py b/python/mypy_plugin.pydeleted file mode 100644index 4e230e732..000000000--- a/python/mypy_plugin.py+++ /dev/null@@ -1,23 +0,0 @@-from typing import Callable-from mypy.plugin import Plugin, DynamicClassDefContext, SymbolTableNode-from mypy.nodes import SymbolTableNode--class CustomPlugin(Plugin):- def get_dynamic_class_hook(- self, fullname: str- ) -> Callable[[DynamicClassDefContext], None] | None:-- def hook(ctx: DynamicClassDefContext) -> None:- if "Component" in fullname:- # We need to generate mypy.nodes.TypeInfo- # to make mypy understand the type of the class- ctx.api.add_symbol_table_node(- fullname, SymbolTableNode(-- )- )- return--def plugin(version: str):- # ignore version argument if the plugin works with all mypy versions.- return CustomPlugin\ No newline at end of file