Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion requirements/lint.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# Lint tools
# (We are not so interested in the specific versions of the tools: the versions
# are pinned to prevent unexpected linting failures when tools update)
ruff==0.8.6
ruff==0.9.1
mypy==1.14.1

# Required for type stubs
Expand Down
2 changes: 1 addition & 1 deletion tuf/api/_payload.py
Original file line number Diff line number Diff line change
Expand Up @@ -1222,7 +1222,7 @@ def __init__(
self.number_of_bins = 2**bit_length
# suffix_len is calculated based on "number_of_bins - 1" as the name
# of the last bin contains the number "number_of_bins -1" as a suffix.
self.suffix_len = len(f"{self.number_of_bins-1:x}")
self.suffix_len = len(f"{self.number_of_bins - 1:x}")

def __eq__(self, other: object) -> bool:
if not isinstance(other, SuccinctRoles):
Expand Down
3 changes: 3 additions & 0 deletions tuf/api/serialization/json.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
verification.
"""

# We should not have shadowed stdlib json but that milk spilled already
# ruff: noqa: A005

import json
from typing import Optional

Expand Down
Loading