diff --git a/pyproject.toml b/pyproject.toml index 6b705f68c..d985c54ea 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -281,12 +281,3 @@ ignore-variadic-names = true [tool.ruff.lint.pep8-naming] classmethod-decorators = ["cached_classproperty"] extend-ignore-names = ["assert*", "cached_classproperty"] - -# Temporary, until we decide on a mypy -# config for all files. -[[tool.mypy.overrides]] -module = "beets.plugins" -disallow_untyped_decorators = true -disallow_any_generics = true -check_untyped_defs = true -allow_redefinition = true diff --git a/setup.cfg b/setup.cfg index 3e2fee46a..e3472b04c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -41,3 +41,11 @@ allow_any_generics = false ignore_missing_imports = true namespace_packages = true explicit_package_bases = true + +# Temporary, until we decide on a mypy +# config for all files. +[[mypy-beets.plugins]] +disallow_untyped_decorators = true +disallow_any_generics = true +check_untyped_defs = true +allow_redefinition = true