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

Make incremental mode the default #4800

Merged
merged 2 commits into from
Apr 5, 2018
Merged

Make incremental mode the default #4800

merged 2 commits into from
Apr 5, 2018

Conversation

msullivan
Copy link
Collaborator

No description provided.

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.

Yes from me!

Copy link
Member

@gvanrossum gvanrossum left a 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!

@@ -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
Copy link
Member

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.

Copy link
Collaborator

@emmatyping emmatyping left a 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!

@@ -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
Copy link
Collaborator

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.

Copy link
Collaborator

@JukkaL JukkaL left a 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.

@msullivan msullivan force-pushed the default-incremental branch from dc4a7c9 to 60e37ad Compare April 3, 2018 23:53
@msullivan
Copy link
Collaborator Author

Made the suggested doc updates and rebased, but we still want #4841 to go in first

Copy link
Collaborator

@JukkaL JukkaL left a 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.

@msullivan msullivan merged commit 6b13652 into master Apr 5, 2018
@msullivan msullivan deleted the default-incremental branch April 5, 2018 17:12
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.

5 participants