Skip to content

Commit 35a21e2

Browse files
Reformat via Ruff
1 parent ed98a6a commit 35a21e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pydantic_extra_types/mac_address.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def validate_mac_address(value: bytes) -> str:
9797
mac_bytes: list[int] = []
9898
for part in parts:
9999
for i in range(0, chunk_len, 2):
100-
mac_bytes.append(int(part[i:i + 2], base=16))
100+
mac_bytes.append(int(part[i : i + 2], base=16))
101101
except ValueError as exc:
102102
raise PydanticCustomError('mac_address_format', 'Unrecognized format') from exc
103103

0 commit comments

Comments
 (0)