Skip to content

Commit

Permalink
Move mypy configuration to setup.cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
snejus committed May 7, 2024
1 parent 329098a commit 1713011
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .mypy.ini

This file was deleted.

6 changes: 6 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 1713011

Please sign in to comment.