Skip to content

Commit 717bc1a

Browse files
authored
Merge pull request #2765 from theupdateframework/dependabot/pip/test-and-lint-dependencies-982229149a
build(deps): bump ruff from 0.8.6 to 0.9.1 in the test-and-lint-dependencies group
2 parents e49b613 + 5b2c041 commit 717bc1a

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

requirements/lint.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
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.8.6
9+
ruff==0.9.1
1010
mypy==1.14.1
1111

1212
# Required for type stubs

tuf/api/_payload.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1222,7 +1222,7 @@ def __init__(
12221222
self.number_of_bins = 2**bit_length
12231223
# suffix_len is calculated based on "number_of_bins - 1" as the name
12241224
# of the last bin contains the number "number_of_bins -1" as a suffix.
1225-
self.suffix_len = len(f"{self.number_of_bins-1:x}")
1225+
self.suffix_len = len(f"{self.number_of_bins - 1:x}")
12261226

12271227
def __eq__(self, other: object) -> bool:
12281228
if not isinstance(other, SuccinctRoles):

tuf/api/serialization/json.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
verification.
99
"""
1010

11+
# We should not have shadowed stdlib json but that milk spilled already
12+
# ruff: noqa: A005
13+
1114
import json
1215
from typing import Optional
1316

0 commit comments

Comments
 (0)