mirror of
https://github.com/ROCm/jax.git
synced 2025-04-16 20:06:05 +00:00

Revert also previous changes that pinned numpy to 1.19. One of the changes in numpy 1.20 is to add more type annotations. However, this sometimes make mypy give errors. A common example is numpy.take, which with the new type annotation does not appear to mypy as indexable. Another change is that np.int and np.bool are deprecated. One should use np.bool_ or np.int_, or the built-ins bool and int.
20 lines
439 B
INI
20 lines
439 B
INI
[mypy]
|
|
show_error_codes=True
|
|
|
|
[mypy-absl.*]
|
|
ignore_missing_imports = True
|
|
[mypy-jaxlib.*]
|
|
ignore_missing_imports = True
|
|
[mypy-numpy.*]
|
|
ignore_missing_imports = True
|
|
[mypy-opt_einsum.*]
|
|
ignore_missing_imports = True
|
|
[mypy-scipy.*]
|
|
ignore_missing_imports = True
|
|
[mypy-jax.interpreters.autospmd]
|
|
ignore_errors = True
|
|
[mypy-jax.lax.lax_parallel]
|
|
ignore_errors = True
|
|
[mypy-jax.experimental.jax2tf.tests.primitive_harness]
|
|
ignore_errors = True
|