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
Next Next commit
Enable some stricter mypy settings on Lib/_pyrepl
  • Loading branch information
AlexWaygood committed May 15, 2024
commit 870337e75e1173879fad7f620a8f24bea6926f83
3 changes: 0 additions & 3 deletions Lib/_pyrepl/mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,10 @@ strict = True

# Various stricter settings that we can't yet enable
# Try to enable these in the following order:
disallow_any_generics = False
disallow_untyped_calls = False
disallow_untyped_defs = False
check_untyped_defs = False

disable_error_code = return

# Various internal modules that typeshed deliberately doesn't have stubs for:
[mypy-_abc.*,_opcode.*,_overlapped.*,_testcapi.*,_testinternalcapi.*,test.*]
ignore_missing_imports = True