Conversation
Contributor
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #126 +/- ##
=======================================
Coverage 90.52% 90.52%
=======================================
Files 4 4
Lines 728 728
=======================================
Hits 659 659
Misses 69 69 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Reviewer's GuideUpdates and expands ruff-sync documentation with layered configuration and tabbed --path examples, refreshes usage examples and links, and bumps pre-commit Ruff versions to stay current. Flow diagram for choosing a --path usage exampleflowchart TD
Start([Need_to_sync_config_from_upstream_repo])
PathNeeded{Is_the_config_in_a_non_default_location_or_specific_file?}
Start --> PathNeeded
PathNeeded -- No --> DefaultSearch["Use ruff_sync without --path and rely on default search"]
PathNeeded -- Yes --> LocationType{What_do_you_want_to_target?}
LocationType -- Subdirectory_at_single_depth --> Subdirectory["Use --path backend"]
LocationType -- Deeply_nested_directory --> NestedPath["Use --path configs/standards/python/backend"]
LocationType -- Specific_pyproject_toml_file --> PyprojectFile["Use --path backend/pyproject.toml"]
LocationType -- Specific_ruff_toml_or_dot_ruff_toml_file --> RuffFile["Use --path tools/ruff.toml"]
DefaultSearch --> End([ruff_sync_uses_default_config_search])
Subdirectory --> End
NestedPath --> End
PyprojectFile --> End
RuffFile --> End
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
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.
Summary by Sourcery
Improve and expand documentation for using ruff-sync, particularly around layered configuration and path-specific syncing, while updating referenced versions and tooling.
Enhancements:
Documentation: