From f1af40af79cc39bba15ff54ab3e2b4b9bb05e5b5 Mon Sep 17 00:00:00 2001 From: dece Date: Mon, 5 Dec 2022 11:02:56 +0100 Subject: [PATCH] mypy: move config to pyproject.toml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit … even though it fails to parse config for specific packages like `[tool.mypy-jedi]`… --- mypy.ini | 6 ------ pyproject.toml | 3 +++ 2 files changed, 3 insertions(+), 6 deletions(-) delete mode 100644 mypy.ini diff --git a/mypy.ini b/mypy.ini deleted file mode 100644 index 410ba98..0000000 --- a/mypy.ini +++ /dev/null @@ -1,6 +0,0 @@ -[mypy] -warn_return_any = True -warn_unused_configs = True - -zsh:1: command not found: a -ignore_missing_imports = True diff --git a/pyproject.toml b/pyproject.toml index 9787c3b..1abca0d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,6 @@ [build-system] requires = ["setuptools", "wheel"] build-backend = "setuptools.build_meta" + +[tool.mypy] +ignore_missing_imports = true