Refactor logging, caching, and template rendering for clarity#38
Merged
Refactor logging, caching, and template rendering for clarity#38
Conversation
- Updated Python dependencies in `uv.lock` and `pyproject.toml`, including package upgrades and additions. - Added `temp.py` to `.gitignore` to ignore temporary Python files. - Modified `.changelog-config.yaml` to include an MDFormat action for `CHANGELOG.md`.
Introduce a new `IndentedLoggerAdapter` to enable structured logging with customizable indentation. Includes utility methods for managing indent levels and a setup function for configuring logging verbosity with `RichHandler`.
… for structured logging
…ogger, and merge method validation
Contributor
|
Contributor
|
Version hint: minor Comment ID: Display version hint-auto-generated |
…nd refining `VERBOSITY` structure; add test for `process` kwargs type
…` for structured logging
… update `TEMPORARY_CACHE_DIR` initialization
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.
Description
Summary of Changes
TemporaryDirectorymock from caching test.logging.getLoggerwithget_indented_loggerinrender.pyfor structured logging.overwritemerge method toupdateto improve clarity.parse_git_path(PathInfo) for better typing.IndentedLoggerAdapterfor structured and indented logging.pyupgradehook.mdformatfrom pre-commit hooks.TEMPORARY_CACHE_DIRin place ofTemporaryDirectory..gitignore, and changelog formatting configuration.Dependencies Updated
uv.lockandpyproject.toml..gitignoreto exclude temporary Python files.