Move mypy configuration to setup.cfg

This commit is contained in:
Šarūnas Nejus 2024-05-01 10:35:01 +01:00
parent 329098a0b4
commit 1713011089
2 changed files with 6 additions and 5 deletions

View file

@ -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

View file

@ -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