You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(test): modernize waiter code with Python idioms and robust tests
why: Improve code readability, maintainability and reliability through modern Python patterns and enhanced test coverage for edge cases.
what:
- Replace for-loops with next() and generator expressions
- Use walrus operator (:=) to reduce nesting in conditional code
- Remove redundant conditional code in retry_extended.py
- Fix incorrect test expectations for invalid prompt handling
- Add negative test cases for line range validation
- Update docstrings for better clarity and accuracy
refs: #sourcery-ai
0 commit comments