Is there a way to use a different mypy config for ...
# general
f
Is there a way to use a different mypy config for different targets? Running into an issue where our codebase has
namespace_packages = false
but that doesn't work for Pants plugins
b
Not that I know of, although
mypy
itself allows for different config values based on module name.
f
that one is global only 😕
b
😕
f
I think I might be able to fix it, it looks like a kludge for a single issue
I mean fix the underlying reason why we're using
namespace_packages =  false
okay wow this is the underlying error https://github.com/getsentry/responses/issues/556 so a test-only dep imports from a typeshed and this breaks mypy with namespace_packages for us
b
🤦‍♂️