mirror of
https://github.com/smittix/intercept.git
synced 2026-07-06 16:48: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:
+46
-58
@@ -48,74 +48,62 @@ from .tracker_signatures import (
|
||||
|
||||
__all__ = [
|
||||
# Main scanner
|
||||
'BluetoothScanner',
|
||||
'get_bluetooth_scanner',
|
||||
'reset_bluetooth_scanner',
|
||||
|
||||
"BluetoothScanner",
|
||||
"get_bluetooth_scanner",
|
||||
"reset_bluetooth_scanner",
|
||||
# Models
|
||||
'BTObservation',
|
||||
'BTDeviceAggregate',
|
||||
'ScanStatus',
|
||||
'SystemCapabilities',
|
||||
|
||||
"BTObservation",
|
||||
"BTDeviceAggregate",
|
||||
"ScanStatus",
|
||||
"SystemCapabilities",
|
||||
# Aggregator
|
||||
'DeviceAggregator',
|
||||
|
||||
"DeviceAggregator",
|
||||
# Device key generation
|
||||
'generate_device_key',
|
||||
'is_randomized_mac',
|
||||
'extract_key_type',
|
||||
|
||||
"generate_device_key",
|
||||
"is_randomized_mac",
|
||||
"extract_key_type",
|
||||
# Distance estimation
|
||||
'DistanceEstimator',
|
||||
'ProximityBand',
|
||||
'get_distance_estimator',
|
||||
|
||||
"DistanceEstimator",
|
||||
"ProximityBand",
|
||||
"get_distance_estimator",
|
||||
# Ring buffer
|
||||
'RingBuffer',
|
||||
'get_ring_buffer',
|
||||
'reset_ring_buffer',
|
||||
|
||||
"RingBuffer",
|
||||
"get_ring_buffer",
|
||||
"reset_ring_buffer",
|
||||
# Heuristics
|
||||
'HeuristicsEngine',
|
||||
'evaluate_device_heuristics',
|
||||
'evaluate_all_devices',
|
||||
|
||||
"HeuristicsEngine",
|
||||
"evaluate_device_heuristics",
|
||||
"evaluate_all_devices",
|
||||
# Capability checks
|
||||
'check_capabilities',
|
||||
'quick_adapter_check',
|
||||
|
||||
"check_capabilities",
|
||||
"quick_adapter_check",
|
||||
# Constants - Range bands (legacy)
|
||||
'RANGE_VERY_CLOSE',
|
||||
'RANGE_CLOSE',
|
||||
'RANGE_NEARBY',
|
||||
'RANGE_FAR',
|
||||
'RANGE_UNKNOWN',
|
||||
|
||||
"RANGE_VERY_CLOSE",
|
||||
"RANGE_CLOSE",
|
||||
"RANGE_NEARBY",
|
||||
"RANGE_FAR",
|
||||
"RANGE_UNKNOWN",
|
||||
# Constants - Proximity bands (new)
|
||||
'PROXIMITY_IMMEDIATE',
|
||||
'PROXIMITY_NEAR',
|
||||
'PROXIMITY_FAR',
|
||||
'PROXIMITY_UNKNOWN',
|
||||
|
||||
"PROXIMITY_IMMEDIATE",
|
||||
"PROXIMITY_NEAR",
|
||||
"PROXIMITY_FAR",
|
||||
"PROXIMITY_UNKNOWN",
|
||||
# Constants - Protocols
|
||||
'PROTOCOL_BLE',
|
||||
'PROTOCOL_CLASSIC',
|
||||
'PROTOCOL_AUTO',
|
||||
|
||||
"PROTOCOL_BLE",
|
||||
"PROTOCOL_CLASSIC",
|
||||
"PROTOCOL_AUTO",
|
||||
# Constants - Address types
|
||||
'ADDRESS_TYPE_PUBLIC',
|
||||
'ADDRESS_TYPE_RANDOM',
|
||||
'ADDRESS_TYPE_RANDOM_STATIC',
|
||||
'ADDRESS_TYPE_RPA',
|
||||
'ADDRESS_TYPE_NRPA',
|
||||
|
||||
"ADDRESS_TYPE_PUBLIC",
|
||||
"ADDRESS_TYPE_RANDOM",
|
||||
"ADDRESS_TYPE_RANDOM_STATIC",
|
||||
"ADDRESS_TYPE_RPA",
|
||||
"ADDRESS_TYPE_NRPA",
|
||||
# Tracker detection
|
||||
'TrackerSignatureEngine',
|
||||
'TrackerDetectionResult',
|
||||
'TrackerType',
|
||||
'TrackerConfidence',
|
||||
'DeviceFingerprint',
|
||||
'detect_tracker',
|
||||
'get_tracker_engine',
|
||||
"TrackerSignatureEngine",
|
||||
"TrackerDetectionResult",
|
||||
"TrackerType",
|
||||
"TrackerConfidence",
|
||||
"DeviceFingerprint",
|
||||
"detect_tracker",
|
||||
"get_tracker_engine",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user