Support for multiple mypy.ini files
Opened this issue · 1 comments
juanique commented
Hi, I work on a large monorepo that has multiple projects owned by different people. I'm migrating these projects to bazel and currently they each have their own mypy.ini
file.
From reading the setup instructions it seems that they are meant to have a single configuration file for the whole repo, is there a way around this?
alexeagle commented
Mypy itself doesn't support this, based on my understanding of https://mypy.readthedocs.io/en/stable/config_file.html - unlike ruff or eslint, the working directory must be carefully set to the spot where a configuration file should be read, for each invocation of the tool.
I'll add to the TODO list on aspect-build/rules_lint#78