Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump ruff from 0.8.6 to 0.9.1 in the test-and-lint-dependencies group #2765

Merged
merged 2 commits into from
Jan 17, 2025
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