MPT-17825: resolve WPS400 and WPS407 violations#163
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Organization UI (inherited) Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (10)
📝 WalkthroughWalkthroughThis PR standardizes import patterns across package initializers by converting relative imports to absolute imports and adding explicit Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~15 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 📝 Coding Plan
Comment Tip You can disable the changed files summary in the walkthrough.Disable the |
|



🤖 Codex-generated PR — Please review carefully.
Summary
Validation
Closes MPT-17825
Changes
__init__.pyfiles (accounts,price_lists,products) and added explicit__all__declarations to define public APIsMappingProxyTypeinaccounts/constants.py,price_lists/constants.py, andproducts/constants.pyPriceListExcelFileManagerandProductExcelFileManagerto directly reference immutable constants instead of wrapping them againdefault_results()factory function instats.pyto replace mutableDEFAULT_RESULTSand removed reliance ondeepcopy()for stats initializationpyproject.toml