fix: address code quality issues and repo hygiene gaps, bump 0.7.1#12
Merged
1 commit merged intomainfrom Mar 28, 2026
Merged
Conversation
- Use LOG.debug instead of logging.debug in _detect_hubble_cmd - Replace assert with early-return guards in reader threads - Guard cursor_flow_idx when ordered_keys is empty in watch mode - Close capture file handle on early exit paths to prevent leak - Add missing py.typed marker (referenced in CHANGELOG since v0.4.0) - Add types-PyYAML to dev dependencies for local mypy - Add .mypy_cache, .pytest_cache, .ruff_cache to .gitignore - Bump version to 0.7.1, update changelog
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.
Summary
LOG.debuginstead oflogging.debugin_detect_hubble_cmd(bypassed the module logger)assert proc.stdout/stderr is not Nonewith early-return guards in reader threads (assertions vanish underpython -O)cursor_flow_idxwhenordered_keysis empty in watch select modecapture_fhon early exit paths (RuntimeError,FileNotFoundError) to prevent file handle leakpy.typedmarker file (referenced in CHANGELOG since v0.4.0 but never created)types-PyYAMLto dev dependencies so localmypyworks out of the box.mypy_cache/,.pytest_cache/,.ruff_cache/to.gitignoreTest plan