Skip to content

[docs] move --use-fine-grained-cache to Incremental group#20176

Open
wyattscarpenter wants to merge 1 commit into
python:masterfrom
wyattscarpenter:use_fine
Open

[docs] move --use-fine-grained-cache to Incremental group#20176
wyattscarpenter wants to merge 1 commit into
python:masterfrom
wyattscarpenter:use_fine

Conversation

@wyattscarpenter

@wyattscarpenter wyattscarpenter commented Nov 3, 2025

Copy link
Copy Markdown
Contributor

This commit moves --use-fine-grained-cache out of misc into incremental, a cli documentation group that seems more suitable. It also notes that the flag can only be used in dmypy.


@ilevkivskyi, you seem like something of a "code owner" for this feature, so feel free to close this PR if you thought the old location was better — you would know! 🙂

@github-actions

github-actions Bot commented Nov 3, 2025

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

@ilevkivskyi ilevkivskyi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TBH, I am not really the owner of this feature. But also I think it is in misc intentionally, incremental_group is used for the regular (coarse-grained) incremental mode, while this is flag if for mypy daemon (fine-grained incremental) mode.

@wyattscarpenter

Copy link
Copy Markdown
Contributor Author

Seems to me that if --cache-fine-grained is the option above this, as it is, then the group is probably conceptually broad enough for both of them 🤷

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.

3 participants