From 9de3e492fc498a895390888527bb4b496b3110d5 Mon Sep 17 00:00:00 2001 From: Bruce Merry Date: Tue, 22 Aug 2023 20:58:45 +0200 Subject: [PATCH] Move mypy configuration into pyproject.toml This keeps all the static checkers (isort, black, mypy) together, except for flake8 which refuses to use pyproject. --- mypy.ini | 4 ---- pyproject.toml | 5 +++++ 2 files changed, 5 insertions(+), 4 deletions(-) delete mode 100644 mypy.ini diff --git a/mypy.ini b/mypy.ini deleted file mode 100644 index bbe6845e2..000000000 --- a/mypy.ini +++ /dev/null @@ -1,4 +0,0 @@ -[mypy] -ignore_missing_imports = 1 -files = src/spead2, examples, tests -python_version = 3.8 diff --git a/pyproject.toml b/pyproject.toml index c568fdf86..7c3782a2d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -38,3 +38,8 @@ py_version = 38 [tool.black] line-length = 100 target-versions = ["py38", "py39", "py310", "py311", "py312"] + +[tool.mypy] +ignore_missing_imports = true +files = ["src/spead2", "examples", "tests"] +python_version = "3.8"