Skip to content

dev/1.9.0#3

Merged
xulbux merged 23 commits into
mainfrom
dev/1.9.0
Nov 21, 2025
Merged

dev/1.9.0#3
xulbux merged 23 commits into
mainfrom
dev/1.9.0

Conversation

@xulbux
Copy link
Copy Markdown
Owner

@xulbux xulbux commented Nov 20, 2025

No description provided.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 base modules (types.py and exceptions.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

            if current < 0 or current > total:

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/xulbux/base/types.py
Comment thread tests/test_format_codes.py
Comment thread tests/test_format_codes.py
@xulbux xulbux merged commit 9f7dae0 into main Nov 21, 2025
7 checks passed
@xulbux xulbux deleted the dev/1.9.0 branch November 21, 2025 20:15
xulbux added a commit that referenced this pull request Dec 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants