Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Enable the truthy-bool error code
  • Loading branch information
AlexWaygood committed Aug 29, 2023
commit d4a5b56a5c4296952ff2160c84b13125d6ac8505
1 change: 1 addition & 0 deletions Tools/peg_generator/mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ python_version = 3.10

# Be strict...
strict = True
enable_error_code = truthy-bool

# except for a few settings that can't yet be enabled:
warn_return_any = False
Expand Down