diff options
author | Seth Michael Larson <sethmichaellarson@gmail.com> | 2023-12-07 16:01:58 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-07 16:01:58 (GMT) |
commit | 21221c398f6d89b2d9295895d8a2fd71d28138fa (patch) | |
tree | 9e0093ac731152e9988c4d28259b4b7110fec79f /Tools/build/mypy.ini | |
parent | 2d76be251d0aee89f76e6fa5a63fa1ad3f2b76cf (diff) | |
download | cpython-21221c398f6d89b2d9295895d8a2fd71d28138fa.zip cpython-21221c398f6d89b2d9295895d8a2fd71d28138fa.tar.gz cpython-21221c398f6d89b2d9295895d8a2fd71d28138fa.tar.bz2 |
gh-112302: Add Software Bill-of-Materials (SBOM) tracking for dependencies (#112303)
Diffstat (limited to 'Tools/build/mypy.ini')
-rw-r--r-- | Tools/build/mypy.ini | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Tools/build/mypy.ini b/Tools/build/mypy.ini new file mode 100644 index 0000000..cf1dac7 --- /dev/null +++ b/Tools/build/mypy.ini @@ -0,0 +1,13 @@ +[mypy] +files = Tools/build/generate_sbom.py +pretty = True + +# Make sure Python can still be built +# using Python 3.10 for `PYTHON_FOR_REGEN`... +python_version = 3.10 + +# ...And be strict: +strict = True +strict_concatenate = True +enable_error_code = ignore-without-code,redundant-expr,truthy-bool,possibly-undefined +warn_unreachable = True |