diff options
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 |
commit | 1713011089f03319a58ac110bf5e210f1d7cfb05 (patch) | |
tree | fc866c9fc66b76ee7c1b7ef63a1a7c62094ff146 | |
parent | 329098a0b4f009b91d0a981112ffe0a9f96484f3 (diff) |
Move mypy configuration to setup.cfg
-rw-r--r-- | .mypy.ini | 5 | ||||
-rw-r--r-- | setup.cfg | 6 |
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 @@ -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 |