From 57cd932db1b11e8ac54c97e4b83e79d4c355f949 Mon Sep 17 00:00:00 2001 From: Carlos Rueda Date: Fri, 1 Mar 2024 15:31:15 -0800 Subject: [PATCH] move mypy settings to pyproject --- .mypy.ini | 4 ---- pyproject.toml | 8 ++++++++ 2 files changed, 8 insertions(+), 4 deletions(-) delete mode 100644 .mypy.ini diff --git a/.mypy.ini b/.mypy.ini deleted file mode 100644 index 3f0defe..0000000 --- a/.mypy.ini +++ /dev/null @@ -1,4 +0,0 @@ -[mypy] -show_error_codes = True -exclude = (examples/|src/plotting.py) -ignore_missing_imports = True diff --git a/pyproject.toml b/pyproject.toml index fdc952f..a62f60a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,6 +5,14 @@ requires = [ ] build-backend = "setuptools.build_meta" +[tool.mypy] +show_error_codes = true +ignore_missing_imports = true +exclude = [ + 'examples/', + 'src/plotting\.py', +] + [tool.black] line-length = 90