diff --git a/mypy.ini b/mypy.ini deleted file mode 100644 index fb29b09..0000000 --- a/mypy.ini +++ /dev/null @@ -1,11 +0,0 @@ -[mypy] -warn_unused_ignores = True -warn_redundant_casts = True -warn_return_any = True -show_error_codes = True - -[mypy-IPython.*] -ignore_missing_imports = True - -[mypy-h5py.*] -ignore_missing_imports = True diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..861add1 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,13 @@ +[mypy] +plugins = "numpy.typing.mypy_plugin" +warn_unused_ignores = true +warn_redundant_casts = true +warn_return_any = true +show_error_codes = true + +[[tool.mypy.overrides]] +module = [ + "IPython.*", + "h5py.*", +] +ignore_missing_imports = true