This works in a pyproject.toml file, for overrides per Python module:
pyproject.toml
[[tool.mypy.overrides]] module = "mymodule.*" ignore_errors = true