fix: remove unnecessary UTF-8 encoding declarations and improve type … #30
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.
This pull request includes a series of documentation and code improvements for the
beans-loggingPython package. The changes focus on updating documentation links, clarifying descriptions, modernizing type annotations, and cleaning up formatting and comments throughout the codebase. No functional changes to the package logic are introduced.Documentation and Description Updates:
pyproject.tomlandmkdocs.ymlto clarify that the package helps manage logs, not just logging. [1] [2]README.mdand documentation files to use relative paths where appropriate, improving navigation and consistency. [1] [2] [3] [4] [5]Code Modernization and Cleanup:
# -*- coding: utf-8 -*-) from all source files for modern Python compatibility. [1] [2] [3] [4] [5]dict[str, Any]instead ofDict[str, Any], and union types with|) throughoutsrc/beans_logging/_base.pyfor clarity and type safety. [1] [2] [3] [4] [5]Comment and Formatting Improvements:
##) with single hashes (#), and ensuring comments accurately describe the code. [1] [2] [3] [4] [5] [6] [7]Pre-commit and Changelog Updates:
pyrighthook in.pre-commit-config.yamlto avoid duplicate or unnecessary static type checking configuration.