Skip to content

Commit 3ab89c5

Browse files
authored
Merge pull request #2547 from theupdateframework/dependabot/pip/test-and-lint-dependencies-de1c361fbc
2 parents af4beb1 + f72edc5 commit 3ab89c5

7 files changed

Lines changed: 10 additions & 7 deletions

File tree

examples/manual_repo/basic_repo.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
NOTE: Metadata files will be written to a 'tmp*'-directory in CWD.
2121
2222
"""
23+
2324
import os
2425
import tempfile
2526
from datetime import datetime, timedelta

examples/manual_repo/hashed_bin_delegation.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
NOTE: Metadata files will be written to a 'tmp*'-directory in CWD.
1616
1717
"""
18+
1819
import hashlib
1920
import os
2021
import tempfile

requirements/lint.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
# Lint tools
77
# (We are not so interested in the specific versions of the tools: the versions
88
# are pinned to prevent unexpected linting failures when tools update)
9-
black==23.12.1
9+
black==24.1.1
1010
isort==5.13.2
1111
pylint==3.0.3
1212
mypy==1.8.0
13-
bandit==1.7.6
13+
bandit==1.7.7
1414
pydocstyle==6.3.0

requirements/test.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
-r pinned.txt
55

66
# coverage measurement
7-
coverage==7.4.0
7+
coverage==7.4.1

tests/test_metadata_serialization.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ def test_delegation_serialization(self, test_case_data: str) -> None:
536536

537537
invalid_targetfiles: utils.DataSet = {
538538
"no hashes": '{"length": 1}',
539-
"no length": '{"hashes": {"sha256": "abc"}}'
539+
"no length": '{"hashes": {"sha256": "abc"}}',
540540
# The remaining cases are the same as for invalid_hashes and
541541
# invalid_length datasets.
542542
}

tests/test_trusted_metadata_set.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Unit tests for 'tuf/ngclient/_internal/trusted_metadata_set.py'."""
2+
23
import logging
34
import os
45
import sys

tests/test_updater_top_level_update.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -555,9 +555,9 @@ def test_new_targets_hash_mismatch(self) -> None:
555555
# Modify targets contents without updating
556556
# snapshot's targets hashes
557557
self.sim.targets.version += 1
558-
self.sim.snapshot.meta[
559-
"targets.json"
560-
].version = self.sim.targets.version
558+
self.sim.snapshot.meta["targets.json"].version = (
559+
self.sim.targets.version
560+
)
561561
self.sim.snapshot.version += 1
562562
self.sim.update_timestamp()
563563

0 commit comments

Comments
 (0)