You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#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
review that changes made by ruff are sensible
make sure tox -e lint and tox -e test pass
The text was updated successfully, but these errors were encountered:
#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
passThe text was updated successfully, but these errors were encountered: