Skip to content
Open
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 .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ repos:
pass_filenames: false
args: ["python"]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.13
rev: v0.15.14
hooks:
# Run the linter.
- id: ruff-check
Expand Down
6 changes: 3 additions & 3 deletions python/tests/test_value_converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -659,9 +659,9 @@ async def test_char_internal_type_byte_spectrum(
value = decoded[i]
assert isinstance(value, str)
assert len(value) == 1
assert (
ord(value) == b
), f"byte 0x{b:02x} round-tripped to ord(value)=0x{ord(value):02x}"
assert ord(value) == b, (
f"byte 0x{b:02x} round-tripped to ord(value)=0x{ord(value):02x}"
)
assert decoded[len(bytes_under_test)] is None


Expand Down
Loading