Skip to content

setting exclude_gitignore = true breaks stubtest #19281

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

Open
jorenham opened this issue Jun 12, 2025 · 0 comments
Open

setting exclude_gitignore = true breaks stubtest #19281

jorenham opened this issue Jun 12, 2025 · 0 comments
Labels
bug mypy got something wrong topic-stubtest

Comments

@jorenham
Copy link
Contributor

When I add exclude_gitignore = true to the [tool.mypy] in the pyproject.toml of numtype, stubtest suddenly fails to find the numpy-stubs, while mypy itself still seems to works. This also occurs with an empty .gitignore.

Note that stubtest runs in an isolated uv environment (tool/stubtest.py), because without it, it doesn't work at all 🤷🏻.

See numpy/numtype#584 for the repro and full stubtest output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug mypy got something wrong topic-stubtest
Projects
None yet
Development

No branches or pull requests

2 participants