New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Improve error message for _sort_summary_list
failures
#243
Conversation
PR Description updated to latest commit (055db00) |
PR Review
Code feedback:
✨ Review tool usage guide:Overview: The tool can be triggered automatically every time a new PR is opened, or can be invoked manually by commenting on any PR.
See the review usage page for a comprehensive guide on using this tool. |
PR Code Suggestions
✨ Improve tool usage guide:Overview:
See the improve usage page for a comprehensive guide on using this tool. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #243 +/- ##
==========================================
- Coverage 94.34% 94.26% -0.08%
==========================================
Files 12 12
Lines 1114 1116 +2
==========================================
+ Hits 1051 1052 +1
- Misses 63 64 +1 ☔ View full report in Codecov by Sentry. |
Type
bug_fix
Description
_sort_summary_list
to provide more informative error messages.Changes walkthrough
autodocumenters.py
Enhanced Error Handling and Messaging in `_sort_summary_list`
sphinxcontrib/autodoc_pydantic/directives/autodocumenters.py
_sort_summary_list
by adding a try-exceptblock.
the model name and sort order.