Conversation
Reviewer's GuideThis PR overhauls the Ruff Sync documentation to be workflow-focused, clarifies configuration/merge behavior, improves CI guidance, and aligns README and site navigation with the updated usage model, including favicon change. Flow diagram for ruff-sync check behavior in CI with semantic and exclude optionsgraph TD
A_start["Start CI job"] --> B_load_pyproject["Load local pyproject.toml"]
B_load_pyproject --> C_read_config["Read tool.ruff_sync settings (upstream, exclude)"]
C_read_config --> D_resolve_upstream["Resolve one_or_more upstream URLs"]
D_resolve_upstream --> E_fetch_configs["Fetch upstream configuration sources in order"]
E_fetch_configs --> F_merge_upstream["Merge upstream configs (last_source_wins, deep_merge_tables)"]
F_merge_upstream --> G_apply_exclude["Apply exclude list to prevent overriding local keys"]
G_apply_exclude --> H_select_mode{Semantic_mode_enabled}
H_select_mode -->|Yes| I_semantic_compare["Compare functional config only (ignore comments, whitespace, key_order)"]
H_select_mode -->|No| J_exact_compare["Compare full config including formatting and ordering"]
I_semantic_compare --> K_result{Configs_equivalent}
J_exact_compare --> K_result
K_result -->|Yes| L_exit_zero["Exit 0 (CI passes; no drift)"]
K_result -->|No| M_show_diff["Show unified diff (if diff_enabled)"]
M_show_diff --> N_exit_one["Exit 1 (CI fails; configuration drift)"]
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Contributor
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #109 +/- ##
=======================================
Coverage 90.60% 90.60%
=======================================
Files 3 3
Lines 575 575
=======================================
Hits 521 521
Misses 54 54 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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 ruff-sync usage, workflows, and configuration, and update the site favicon.
Build:
Documentation:
pullandcheck.pull/checkscenarios and link to the full usage docs.ruff-sync check.