Skip to content

Conversation

@wyattscarpenter
Copy link
Contributor

@wyattscarpenter wyattscarpenter commented Nov 3, 2025

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

github-actions bot commented Nov 3, 2025

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

Copy link
Member

@ilevkivskyi ilevkivskyi left a comment

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
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.

2 participants