Skip to content

Commit 3920cb0

Browse files
fix linting
1 parent e30fd11 commit 3920cb0

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • libraries/microsoft-agents-a365-observability-core/microsoft_agents_a365/observability/core

libraries/microsoft-agents-a365-observability-core/microsoft_agents_a365/observability/core/utils.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -178,19 +178,19 @@ def wrapper(*args, **kwargs):
178178

179179
def validate_and_normalize_ip(ip_string: str | None) -> str | None:
180180
"""Validate and normalize an IP address string.
181-
181+
182182
Args:
183183
ip_string: The IP address string to validate (IPv4 or IPv6)
184-
184+
185185
Returns:
186186
The normalized IP address string if valid, None if invalid or None input
187-
187+
188188
Logs:
189189
Error message if the IP address is invalid
190190
"""
191191
if ip_string is None:
192192
return None
193-
193+
194194
try:
195195
# Validate and normalize IP address
196196
ip_obj = ip_address(ip_string)

0 commit comments

Comments
 (0)