unify pre-commit mypy and ci mypy (#13940)

This commit is contained in:
chenyu
2025-12-31 17:51:51 -05:00
committed by GitHub
parent 8bf7c9c1d2
commit e2987001ee
3 changed files with 8 additions and 4 deletions

View File

@@ -135,9 +135,14 @@ check_untyped_defs = true
explicit_package_bases = true
warn_unreachable = true
warn_redundant_casts = true
strict_equality = true
# NOTE: had to comment this out to make mypy pass on both CI and OSX
#warn_unused_ignores = true
[[tool.mypy.overrides]]
module = "extra.*"
follow_imports = "skip"
[tool.pytest.ini_options]
norecursedirs = [
"extra",