Skip to content

Conversation

@AlexWaygood
Copy link
Member

@AlexWaygood AlexWaygood commented Jan 2, 2023

  • Remove redundant flags that are now enabled by default.
  • Add --pretty to typecheck_typeshed.py.

mypy_test.py flags are being reworked in #9408.

- Remove redundant flags that are now enabled by default
- Add --pretty to type_check_typeshed.py
@JelleZijlstra
Copy link
Member

No strong feelings here, but there's some value in keeping these flags even if they are enabled by default: it's more explicit, and we are insulated against changes if mypy decides to flip the default again in the future.

@AlexWaygood
Copy link
Member Author

AlexWaygood commented Jan 2, 2023

Fair points. I guess I'm still weakly in favour of this PR — it feels unlikely that these changes to the mypy defaults will be reverted, and the added value from explicitness feels a little slim to me here :)

Copy link
Collaborator

@srittau srittau left a comment

Choose a reason for hiding this comment

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

LGTM, I slightly prefer to remove the redundant options, but have no really strong feelings.

@AlexWaygood AlexWaygood merged commit a7f1d3c into main Jan 2, 2023
@AlexWaygood AlexWaygood deleted the AlexWaygood-patch-1 branch January 2, 2023 12:01
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.

4 participants