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
consider-using-with in download.py: I think this is correct, we want to return the tempfile so cannot use a context manager. Unless there is a way to write the function explicitly as a context manager itself (since that's how we use it anyway)?
On the coverage I suggest we change tox to do python -m coverage report -m --fail-under 97 --omit "{toxinidir}/tuf/client_rework/*"
for now, and file issues for improving this sad result:
Activity
jku commentedon May 19, 2021
pylint disables that are left after #1396:
consider-using-within download.py: I think this is correct, we want to return the tempfile so cannot use a context manager. Unless there is a way to write the function explicitly as a context manager itself (since that's how we use it anyway)?broad-exceptin metadata_bundle.py: This is in code that should be implemented in Metadata API as part of Metadata verification API tweaks #1377too-many-branchesin metadata_bundle.py: I don't want to split update_snapshot(), also this should go away with API : Add hash verification for timestamp/snapshot/targets #1361I'm fine with those.
On the coverage I suggest we change tox to do
python -m coverage report -m --fail-under 97 --omit "{toxinidir}/tuf/client_rework/*"for now, and file issues for improving this sad result:
EDIT: there is an umbrella issue #1309
sechkova commentedon May 21, 2021
This is done with 18c5272.
Closing this issue and the remaining work will continue in #1309.