Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for multiple mypy.ini files #63

Open
juanique opened this issue Jul 28, 2022 · 1 comment
Open

Support for multiple mypy.ini files #63

juanique opened this issue Jul 28, 2022 · 1 comment

Comments

@juanique
Copy link

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
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants