Skip to content

Build AI methods with your coding agent, then run them anywhere: as an MCP for chatbots, as a webapp for people, or via API for your software.

Remove orphaned mthds._compat stub and dead mypy typings path

Louis Choquele1f018c44d6e
diff --git a/pyproject.toml b/pyproject.toml
index a51de09d6..6befb9a4b 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -143,7 +143,7 @@ build-backend = "hatchling.build"
[tool.mypy]
check_untyped_defs = true
exclude = ["^.*\\.venv/.*$"]
-mypy_path = ".:typings"
+mypy_path = "."
packages = ["pipelex", "tests"]
plugins = ["pydantic.mypy"]
python_version = "3.11"
diff --git a/typings/mthds/_compat.pyi b/typings/mthds/_compat.pyi
deleted file mode 100644
index bd0212d3f..000000000
--- a/typings/mthds/_compat.pyi
+++ /dev/null
@@ -1,6 +0,0 @@
-import sys
-
-if sys.version_info >= (3, 11):
- from enum import StrEnum as StrEnum
-else:
- from backports.strenum import StrEnum as StrEnum