Automated code quality improvements: Black (Code Formatter): - Reformatted 30 files to match PEP 8 style - Consistent line length (100 chars) - Consistent quote style and spacing isort (Import Sorter): - Fixed import order in 30+ files - Grouped imports: stdlib → third-party → first-party → local - Consistent multi-line import formatting Ruff (Linter): - Auto-fixed 161 issues: * Modernized type hints (List → list, Optional[X] → X | None) * Removed unused imports (json, os, typing utilities) * Updated deprecated typing imports (typing.List → list) * Simplified type annotations with | operator (Python 3.10+) - Remaining 20 issues (acceptable): * 9x unused-method-argument (callback signatures, cannot be changed) * 2x bare-except (intentional for resilience) * 2x unused-variable (will be addressed in Phase 2) * Minor simplification opportunities (not critical) Code Quality Stats: - 32 files modified - +1749/-1589 lines (net cleanup) - Code is now consistent and formatted - Ready for gradual type safety improvements (Phase 3) All changes are non-functional - pure formatting and import organization.
11 lines
231 B
Python
11 lines
231 B
Python
"""Client modules for external system integrations."""
|
|
|
|
from clients.mqtt_client import MQTTClient
|
|
from clients.odoo_client import MockOdooClient, OdooClient
|
|
|
|
__all__ = [
|
|
"MQTTClient",
|
|
"OdooClient",
|
|
"MockOdooClient",
|
|
]
|