Skip to content

Conversation

@AlexWaygood
Copy link
Member

@AlexWaygoodAlexWaygood commented Aug 29, 2023

This picks some low-hanging fruit when it comes to the mypy config, enabling various stricter settings that don't require large code changes:

  • Enable --no-explicit-reexport
  • Enable the truthy-bool and ignore-without-code error codes
  • Explicitly note in our config file that --warn-unreachable can't yet be enabled. (It would take several code changes before we could enable it; it's deferred for now.)

@AlexWaygoodAlexWaygood enabled auto-merge (squash) August 29, 2023 11:19
@AlexWaygoodAlexWaygood merged commit 0d140b8 into python:mainAug 29, 2023
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@AlexWaygood@sobolevn@bedevere-bot