Ruff 0.16.0 compatibility changes - #206
Conversation
|
👋 Hello @glenn-jocher, thank you for submitting a
For more guidance, please refer to our Contributing Guide. Don't hesitate to leave a comment if you have any questions. Thank you for contributing to Ultralytics! 🚀 |
UltralyticsAssistant
left a comment
There was a problem hiding this comment.
🔍 PR Review
Made with ❤️ by Ultralytics Actions
Clean PR. The Ruff-driven import, dict-literal, conditional, and unused-key changes preserve behavior, and the fallback timestamps now correctly use UTC while remaining compatible with the declared Python 3.8 floor.
|
🎉 Thank you, @glenn-jocher, for this excellent contribution!
This PR brings together thoughtful improvements to plugin reliability, UTC-aware date handling, GitHub author resolution, and code maintainability. These changes make the MkDocs workflow more consistent across environments and easier to maintain. Your careful work is greatly appreciated! |
Summary
Validation
uvx --from ruff==0.16.0 ruff check --fix --unsafe-fixes --extend-select F,I,D,UP,RUF,FA --target-version py38 --ignore BLE001,D100,D104,D203,D205,D212,D213,D401,D406,D407,D413,RUF001,RUF002,RUF012,S110 .uvx --from ruff==0.16.0 ruff format --line-length 120 .Deleted: redundant mapping item-key binding and nested conditional branch.
🛠️ PR Summary
Made with ❤️ by Ultralytics Actions
🌟 Summary
🛠️ Improves plugin reliability, timezone handling, and author resolution while simplifying internal code structure.
📊 Key Changes
processor, improving module compatibility.🎯 Purpose & Impact