File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4141 matrix :
4242 target : [
4343 " Lib/_pyrepl" ,
44+ " Lib/pathlib" ,
4445 " Lib/test/libregrtest" ,
4546 " Tools/build" ,
4647 " Tools/cases_generator" ,
Original file line number Diff line number Diff line change 1+ # Config file for running mypy on pathlib.
2+ # Run mypy by invoking `mypy --config-file Lib/pathlib/mypy.ini`
3+ # on the command-line from the repo root
4+
5+ [mypy]
6+ files = Lib/pathlib
7+ mypy_path = $MYPY_CONFIG_FILE_DIR/../../Misc/mypy
8+ explicit_package_bases = True
9+ python_version = 3.13
10+ platform = linux
11+ pretty = True
12+
13+ # ... Enable most stricter settings
14+ enable_error_code = ignore-without-code,redundant-expr
15+ strict = True
16+
17+ # can't enable before glob isn't typed ...
18+ warn_return_any = False
19+ disable_error_code = attr-defined
20+
21+ # Various stricter settings that we can't yet enable
22+ # Try to enable these in the following order:
23+ disallow_untyped_calls = False
24+ disallow_untyped_defs = False
25+ check_untyped_defs = False
Original file line number Diff line number Diff line change 1+ ../../Lib/pathlib
Original file line number Diff line number Diff line change 22
33_colorize.py
44_pyrepl
5+ pathlib
You can’t perform that action at this time.
0 commit comments