Merged
Conversation
This was referenced Nov 9, 2025
Closed
Apply ruff formatting to all test files as Stage 0 of the test linting enablement plan. This separates formatting changes from type annotation work for cleaner diffs and easier review. Changes: - 19 files reformatted (mainly removing unnecessary line breaks) - 167 files already formatted (no changes) - All tests still pass 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Replace blanket "tests" exclusion with specific directory exclusions matching the pyright configuration. This aligns both tools and makes the staged rollout plan clearer. Changes: - Remove generic "tests" from ruff exclude list - Add specific test directories to exclude - Both ruff and pyright now have identical test exclusions - Will remove exclusions incrementally as each stage completes 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
RxPY v5: Fluent Method Chaining Support
Summary
This release introduces fluent method chaining to RxPY while maintaining full backward compatibility with the existing pipe-based functional style. Both styles now work seamlessly together.
What's New
Dual Syntax Support - Use operators as methods OR functions:
Fluent style (NEW)
( rx.of(1, 2, 3, 4, 5) .map(lambda x: x * 2) .filter(lambda x: x > 5) .take(3) .subscribe(print) )Functional style (still works)
Mix both styles freely
Current Progress
Implementation Details
###Architecture:
Mixin-based organization (11 category-focused mixins)
Observable inherits all operator methods via multiple inheritance
Each method delegates to the corresponding operator function via pipe()
Categories Completed:
✅ Transformation (map, flat_map, scan, starmap, etc.)
✅ Filtering (filter, take, skip, distinct, etc.)
✅ Mathematical (count, sum, average, min, max)
✅ Conditional (take_while, skip_until, default_if_empty)
✅ Combination (merge, zip, combine_latest, with_latest_from)
✅ Error Handling (catch, retry, on_error_resume_next)
✅ Utility (do_action, delay, timestamp, observe_on)
✅ Time-based (sample, debounce, delay_subscription)
✅ Windowing & Buffering (buffer, window, group_by, all variants)
✅ Multicasting (share, publish, replay, multicast)
✅ Testing (all, some, is_empty, contains, sequence_equal)
Migration Guide
No migration needed! This is a pure feature addition. See docs/migration.rst for the new Migration v5 section with complete examples.
Breaking Changes
None - This release is 100% backward compatible. Minor Fix: Renamed internal ReplaySubject.window attribute to ReplaySubject._window to avoid naming conflict with the new window() method. This is a private implementation detail and should not affect user code.