-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BLD: Remove mypy from pre-commit as long its always a full run #30811
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
Conversation
Without supporting an incremental mode, the runtime overhead (reportably at 20s) is unacceptable for efficient development. We can reactivate once a stable, incremental mode works for `pandas`.
For my understanding: what are the blockers for incremental mode for pandas? And isn't that actually what mypy does by default: https://mypy.readthedocs.io/en/latest/command_line.html#incremental-mode ? |
I think we may just want to comment out for now instead of deleting entirely, so that way it is easy to restore down the road. |
Maybe this is only working on some systems as your reported numbers seem to be no different between cached and non-cached runs. Can you try to run with the SQLite cache instead ? |
To ensure we are talking about the same thing: the 0.6 you mentioned in the other PR for a cached run, is that for a fully identical run? Or after a tiny change? Because what I tried was: run mypy (takes ca 20s), do a tiny non-significant 1-line change, run mypy again (still taking 20s). If I really run mypy again without any change (directly with |
Ah, that explains it. Yeah, we should also have fast one line changes, the 0.6s were without a change. |
Ah, OK, that explains ;) |
Changed the milestone to |
Without supporting an incremental mode, the runtime overhead (reportably at 20s)
is unacceptable for efficient development. We can reactivate once a stable,
incremental mode works for
pandas
.