Skip to content

Commit e1b52e7

Browse files
author
Lukas Pühringer
authored
Merge pull request #2580 from theupdateframework/dependabot/pip/test-and-lint-dependencies-c17666fe2e
build(deps): bump the test-and-lint-dependencies group with 1 update
2 parents 38f7f06 + 10841c6 commit e1b52e7

21 files changed

Lines changed: 28 additions & 33 deletions

docs/CONTRIBUTING.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,4 @@ The linter in CI/CD will check that new TUF code is formatted with
7676
command line:
7777
::
7878

79-
$ ruff format .
79+
$ tox -e fix

examples/manual_repo/succinct_hash_bin_delegations.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
1818
NOTE: Metadata files will be written to a 'tmp*'-directory in CWD.
1919
"""
20+
2021
import math
2122
import os
2223
import tempfile

requirements/lint.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
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-
ruff==0.2.2
9+
ruff==0.3.0
1010
mypy==1.8.0

tests/repository_simulator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright 2021, New York University and the TUF contributors
44
# SPDX-License-Identifier: MIT OR Apache-2.0
55

6-
""""Test utility to simulate a repository
6+
"""Test utility to simulate a repository
77
88
RepositorySimulator provides methods to modify repository metadata so that it's
99
easy to "publish" new repository versions with modified metadata, while serving

tests/test_api.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22

33
# Copyright 2020, New York University and the TUF contributors
44
# SPDX-License-Identifier: MIT OR Apache-2.0
5-
""" Unit tests for api/metadata.py
6-
7-
"""
5+
"""Unit tests for api/metadata.py"""
86

97
import json
108
import logging

tests/test_examples.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
#!/usr/bin/env python
22
# Copyright 2020, New York University and the TUF contributors
33
# SPDX-License-Identifier: MIT OR Apache-2.0
4-
""" Unit tests for 'examples' scripts.
4+
"""Unit tests for 'examples' scripts."""
55

6-
"""
76
import glob
87
import os
98
import shutil

tests/test_fetcher_ng.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
# Copyright 2021, New York University and the TUF contributors
44
# SPDX-License-Identifier: MIT OR Apache-2.0
55

6-
"""Unit test for RequestsFetcher.
7-
"""
6+
"""Unit test for RequestsFetcher."""
87

98
import io
109
import logging

tests/test_metadata_eq_.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
"""Test __eq__ implementations of classes inside tuf/api/metadata.py."""
77

8-
98
import copy
109
import os
1110
import sys

tests/test_metadata_generation.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
# Copyright New York University and the TUF contributors
44
# SPDX-License-Identifier: MIT OR Apache-2.0
55

6-
76
import sys
87
import unittest
98

tests/test_metadata_serialization.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Copyright New York University and the TUF contributors
22
# SPDX-License-Identifier: MIT OR Apache-2.0
33

4-
""" Unit tests testing tuf/api/metadata.py classes
4+
"""Unit tests testing tuf/api/metadata.py classes
55
serialization and deserialization.
66
77
"""

0 commit comments

Comments
 (0)