Lib/tomllib/mypy.ini
raw| 1 | # Config file for running mypy on tomllib. |
| 2 | # Run mypy by invoking `mypy --config-file Lib/tomllib/mypy.ini` |
| 3 | # on the command-line from the repo root |
| 4 | |
| 5 | [mypy] |
| 6 | files = Lib/tomllib |
| 7 | mypy_path = $MYPY_CONFIG_FILE_DIR/../../Misc/mypy |
| 8 | explicit_package_bases = True |
| 9 | python_version = 3.12 |
| 10 | pretty = True |
| 11 | |
| 12 | # Enable most stricter settings |
| 13 | enable_error_code = ignore-without-code |
| 14 | strict = True |
| 15 | strict_bytes = True |
| 16 | local_partial_types = True |
| 17 | warn_unreachable = True |