Our Python code checks (pylint and mypy) currently run on an old version of Python. We have been creating scripts that require a modern Python, and these scripts are in places that are excluded from the Python checks:
The goal of this task is to arrange for these modern-Python scripts to be checked with pylint and mypy.
This can be done either by moving all the Python checking to a modern Python and including the new scripts in these checks, or by adding a second Python check to all.sh that uses a modern Python and looks at the new scripts.
Our Python code checks (pylint and mypy) currently run on an old version of Python. We have been creating scripts that require a modern Python, and these scripts are in places that are excluded from the Python checks:
utilin the framework repository for maintainer scripts.util/mbedtls_maintainerwhich is a Python package.scripts/maintainerto , which Generate MLDSA test cases for the driver and dispatch layers #282 excludes from Python checks.The goal of this task is to arrange for these modern-Python scripts to be checked with pylint and mypy.
This can be done either by moving all the Python checking to a modern Python and including the new scripts in these checks, or by adding a second Python check to
all.shthat uses a modern Python and looks at the new scripts.