feat: add MyTT.pyi type stubs, enable strict mypy

- Create type stub file for 50+ MyTT indicator functions
- Covers all 31 functions used in the project + common utilities
- Remove mypy disallow_untyped_defs/calls override for MyTT
- MyTT now covered by strict mypy via .pyi stubs
This commit is contained in:
Justin Gu
2026-06-11 02:29:47 +08:00
parent f4dc28c5d2
commit fa5bd2d44d
2 changed files with 106 additions and 2 deletions
+1 -2
View File
@@ -29,8 +29,7 @@ ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "easy_tdx.MyTT"
disallow_untyped_defs = false
disallow_untyped_calls = false
# Type stubs provided via MyTT.pyi — keep strict checks enabled
[tool.ruff]
target-version = "py310"