Skip to content

Commit

Permalink
CI: Latest sympy disables typehinting because "[adding py.typed to sy…
Browse files Browse the repository at this point in the history
…mpy] was a mistake to add it before adding the corresponding type hints." -- sympy/sympy#22337 . So we disable it on sympy as well. Check also this for progress in adding proper typehinting to sympy: sympy/sympy#25103
  • Loading branch information
zachetienne committed Feb 6, 2024
1 parent 0b76b73 commit 8510e24
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .mypy.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[mypy]
disallow_untyped_calls = False
disallow_untyped_defs = True
disallow_incomplete_defs = True
check_untyped_defs = True
disallow_untyped_decorators = True
no_implicit_optional = True
warn_redundant_casts = True
warn_unused_ignores = True
warn_return_any = True
strict_equality = True

[mypy-sympy.*]
ignore_missing_imports = True

0 comments on commit 8510e24

Please sign in to comment.