Skip to content

Commit 1713011

Browse files
committed
Move mypy configuration to setup.cfg
1 parent 329098a commit 1713011

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.mypy.ini

Lines changed: 0 additions & 5 deletions
This file was deleted.

setup.cfg

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,3 +179,9 @@ per-file-ignores =
179179
./beets/dbcore/queryparse.py:D
180180
./beets/dbcore/types.py:D
181181
./beets/mediafile.py:D
182+
183+
[mypy]
184+
allow_any_generics = false
185+
# FIXME: Would be better to actually type the libraries (if under our control),
186+
# or write our own stubs. For now, silence errors
187+
ignore_missing_imports = true

0 commit comments

Comments
 (0)