From 1713011089f03319a58ac110bf5e210f1d7cfb05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0ar=C5=ABnas=20Nejus?= Date: Wed, 1 May 2024 10:35:01 +0100 Subject: [PATCH] Move mypy configuration to setup.cfg --- .mypy.ini | 5 ----- setup.cfg | 6 ++++++ 2 files changed, 6 insertions(+), 5 deletions(-) delete mode 100644 .mypy.ini diff --git a/.mypy.ini b/.mypy.ini deleted file mode 100644 index 6bad7a0b6..000000000 --- a/.mypy.ini +++ /dev/null @@ -1,5 +0,0 @@ -[mypy] -allow_any_generics = false -# FIXME: Would be better to actually type the libraries (if under our control), -# or write our own stubs. For now, silence errors -ignore_missing_imports = true diff --git a/setup.cfg b/setup.cfg index c8bd6f21c..8423ee3b8 100644 --- a/setup.cfg +++ b/setup.cfg @@ -179,3 +179,9 @@ per-file-ignores = ./beets/dbcore/queryparse.py:D ./beets/dbcore/types.py:D ./beets/mediafile.py:D + +[mypy] +allow_any_generics = false +# FIXME: Would be better to actually type the libraries (if under our control), +# or write our own stubs. For now, silence errors +ignore_missing_imports = true