-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Make incremental mode the default #4800
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes from me!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very happy to see this finally happening!
docs/source/command_line.rst
Outdated
@@ -342,6 +342,9 @@ Here are some more useful flags: | |||
when most parts of your program haven't changed since the previous | |||
mypy run. | |||
|
|||
Incremental mode is now the default and may be disabled with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not a news entry, I'd leave "now" off.
Also could you regenerate the option summary at the top of this file? There's a [-i]
tucked in there somewhere that probably should go, and [--no-incremental]
should appear.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excited to see this! One suggestion that I think would be clearer, otherwise looks good!
docs/source/command_line.rst
Outdated
@@ -342,6 +342,9 @@ Here are some more useful flags: | |||
when most parts of your program haven't changed since the previous | |||
mypy run. | |||
|
|||
Incremental mode is now the default and may be disabled with | |||
``--no-incremental``. | |||
|
|||
- ``--cache-dir DIR`` is a companion flag to ``-incremental``, which |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since incremental mode is the default, this should probably be updated, as people usually won't be passing --incremental
itself. Also above, the first --incremental
after the section heading should probably be changed to Incremental mode
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately it looks like we should try to fix or work around #2960 before making the switch.
dc4a7c9
to
60e37ad
Compare
Made the suggested doc updates and rebased, but we still want #4841 to go in first |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is now ready to merge since #4841 is in.
No description provided.