We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed98a6a commit 35a21e2Copy full SHA for 35a21e2
pydantic_extra_types/mac_address.py
@@ -97,7 +97,7 @@ def validate_mac_address(value: bytes) -> str:
97
mac_bytes: list[int] = []
98
for part in parts:
99
for i in range(0, chunk_len, 2):
100
- mac_bytes.append(int(part[i:i + 2], base=16))
+ mac_bytes.append(int(part[i : i + 2], base=16))
101
except ValueError as exc:
102
raise PydanticCustomError('mac_address_format', 'Unrecognized format') from exc
103
0 commit comments