Conversation
…into dev/1.9.0
…into dev/1.9.0
…into dev/1.9.0
There was a problem hiding this comment.
Pull request overview
This PR updates the xulbux library from version 1.8.5 to 1.9.0, introducing significant refactoring and improvements across the entire codebase.
Key Changes:
- Centralized type definitions and custom exceptions into new
basemodules (types.pyandexceptions.py) - Enhanced parameter validation with comprehensive type checking across all public methods
- Improved error messages with more descriptive and consistent formatting
- Standardized code style (quote styles, collections usage, docstrings)
- API changes for argument parsing (list/tuple → set for flags)
Reviewed changes
Copilot reviewed 31 out of 31 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
src/xulbux/__init__.py |
Version bump to 1.9.0 |
pyproject.toml |
Version bump to 1.9.0 |
README.md |
Minor formatting fix (badge alignment) |
src/xulbux/base/types.py |
New module centralizing type aliases and TypedDicts |
src/xulbux/base/exceptions.py |
New module for custom exception classes |
src/xulbux/system.py |
Added docstring, parameter validation, and improved error messages |
src/xulbux/string.py |
Added docstring, extensive parameter validation, improved documentation |
src/xulbux/regex.py |
Added docstring, parameter validation, pattern cleanup helper |
src/xulbux/path.py |
Moved PathNotFoundError to base, improved documentation |
src/xulbux/json.py |
Added docstring, parameter validation, improved documentation |
src/xulbux/format_codes.py |
Enhanced validation, improved error handling |
src/xulbux/file.py |
Moved SameContentFileExistsError to base, parameter validation |
src/xulbux/env_path.py |
Added docstring, validation, improved error messages |
src/xulbux/data.py |
Extensive parameter validation, improved documentation |
src/xulbux/console.py |
API change (lists→sets), enhanced validation, improved error messages |
src/xulbux/color.py |
Extensive validation, improved documentation, better error messages |
src/xulbux/code.py |
Added docstring, parameter validation, code improvements |
src/xulbux/cli/help.py |
Minor code improvements |
tests/* |
Updated for API changes (quote styles, list→set conversions) |
Comments suppressed due to low confidence (1)
src/xulbux/console.py:1425
- Test is always false, because of this condition.
if current < 0 or current > total:
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
xulbux
added a commit
that referenced
this pull request
Dec 22, 2025
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.
No description provided.