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