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

stubgen: Add flagfile support #18061

Merged
merged 1 commit into from
Oct 28, 2024
Merged

Conversation

KapJI
Copy link
Contributor

@KapJI KapJI commented Oct 28, 2024

Description

This is already supported by main mypy binary and dmypy but not by stubgen.

Context

I maintain https://github.com/KapJI/homeassistant-stubs which automatically generates typing stubs. Currently list of arguments there is 50 KB long and this can be longer than supported by OS (depending on configuration). It'd help to write these args to flagfile.

@JelleZijlstra JelleZijlstra merged commit 06a566b into python:master Oct 28, 2024
13 checks passed
@KapJI KapJI deleted the stubgen-flagfile branch October 28, 2024 18:23
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

Successfully merging this pull request may close these issues.

2 participants