mirror of
https://github.com/smittix/intercept.git
synced 2026-07-07 00:58:12 -07:00
style: apply ruff-format to entire codebase
First-time run of ruff-format via pre-commit hook normalises quote style, trailing commas, and whitespace across 188 Python files. No logic changes. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -119,6 +119,6 @@ def extract_key_type(device_key: str) -> str:
|
||||
Returns:
|
||||
The key type ('id', 'mac', or 'fp').
|
||||
"""
|
||||
if ':' in device_key:
|
||||
return device_key.split(':', 1)[0]
|
||||
return 'unknown'
|
||||
if ":" in device_key:
|
||||
return device_key.split(":", 1)[0]
|
||||
return "unknown"
|
||||
|
||||
Reference in New Issue
Block a user