summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorŠarūnas Nejus <snejus@protonmail.com>2024-05-01 10:35:01 +0100
committerŠarūnas Nejus <snejus@protonmail.com>2024-05-07 21:16:24 +0100
commit1713011089f03319a58ac110bf5e210f1d7cfb05 (patch)
treefc866c9fc66b76ee7c1b7ef63a1a7c62094ff146
parent329098a0b4f009b91d0a981112ffe0a9f96484f3 (diff)
Move mypy configuration to setup.cfg
-rw-r--r--.mypy.ini5
-rw-r--r--setup.cfg6
2 files changed, 6 insertions, 5 deletions
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