886 is merged so we could start using "new" annotations in the code base. Fixing this requires no securesystemslib knowledge but understanding Python annotation basics is required.
Python 3.9 allows annotations using standard library containers (so e.g. dict instead of typing.Dict). In practice this should work:
bump requires-python in pyproject.toml
run ruff check --fix --unsafe-fixes securesystemslib tests
886 is merged so we could start using "new" annotations in the code base. Fixing this requires no securesystemslib knowledge but understanding Python annotation basics is required.
Python 3.9 allows annotations using standard library containers (so e.g.
dict
instead oftyping.Dict
). In practice this should work:requires-python
in pyproject.tomlruff check --fix --unsafe-fixes securesystemslib tests
tox -e lint
andtox -e test
pass