Release PR for 2025-12-10 10:25#45
Merged
Merged
Conversation
- Introduced a new phony target `dead-code` in the Makefile to check for dead code using Vulture. - Updated `pyproject.toml` to include Vulture as a dependency and configured its settings. - Enhanced the `uv.lock` file to reflect the new dependency structure and versions. These changes improve code quality by enabling dead code detection in the project. Signed-off-by: Dmitrii Safronov <zimniy@cyberbrain.cc>
- Modified the Vulture settings to exclude only the "__pycache__" directory from dead code detection, removing the previous exclusions for "tests" and ".venv". - Added an ignore rule for names "cls" to accommodate Pydantic validators. These changes refine the dead code detection configuration, enhancing its effectiveness. Signed-off-by: Dmitrii Safronov <zimniy@cyberbrain.cc>
- Modified the Makefile to include a new `dead-code` target in the `all` command, allowing for a comprehensive check that includes formatting, linting, testing, and dead code detection. - Updated the GitHub Actions workflow to run the `make all` command instead of separate lint and test commands, streamlining the CI process. These changes enhance the efficiency of the development workflow by consolidating checks into a single command. Signed-off-by: Dmitrii Safronov <zimniy@cyberbrain.cc>
- Introduced a new pre-push hook in the pre-commit configuration to run the `make dead-code` command, enhancing the workflow by ensuring dead code checks are performed before code is pushed. This addition improves code quality by integrating dead code detection into the development process. Signed-off-by: Dmitrii Safronov <zimniy@cyberbrain.cc>
- Updated the documentation in schema_loader.py to specify that the schema is cached process-wide and is thread-safe. This change enhances clarity regarding the behavior of schema caching and the need for process restarts to pick up on-disk changes. These improvements aim to provide better guidance for users regarding schema management. Signed-off-by: Dmitrii Safronov <zimniy@cyberbrain.cc>
- Refactored the cache validation logic in the schema_loader.py to eliminate unnecessary locking and improve readability. The checks for cached paths now directly assess the existence of the resolved schema path and the current working directory without redundant global declarations. - This change enhances the efficiency of the caching mechanism and clarifies the conditions under which the cache is invalidated. Signed-off-by: Dmitrii Safronov <zimniy@cyberbrain.cc>
## [0.3.1-rc.1](v0.3.0...v0.3.1-rc.1) (2025-12-10) Signed-off-by: semantic-release-bot <semantic-release-bot@martynus.net>
Owner
Author
|
🎉 This PR is included in version 0.3.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
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.
Changelog (#45)
📚 Documentation
♻️ Refactoring
🧹 Chores