style: apply ruff format to source and test files - #45
Open
Coding-Dev-Tools wants to merge 1 commit into
Open
Conversation
Formats 8 files per ruff's line-length=120 configuration: - src/configdrift/cli.py, diff.py, loader.py - tests/test_ci_workflow.py, test_cli.py, test_coverage_gaps.py, test_diff.py, test_loader.py Net reduction of 83 lines by consolidating multi-line expressions that fit within the 120-char limit. All 143 tests pass.
🤖 Automated Code Review✅ Ruff Lint — No issues✅ Ruff Format — Clean✅ Secret Detection — Clean✅ Large Files — Within limits📊 Diff Stats — 8 file(s) changedVerdict: ✅ Pass — No issues found. Automated by Coding-Dev-Tools/.github reusable 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\n\nApplies
ruff formatto 8 files that were not conforming to the project's line-length=120 configuration.\n\n### Files reformatted\n-src/configdrift/cli.py(11 lines removed, 36 → 25)\n-src/configdrift/diff.py(2 lines removed)\n-src/configdrift/loader.py(4 lines removed)\n-tests/test_ci_workflow.py(1 line removed)\n-tests/test_cli.py(17 lines removed, 51 → 34)\n-tests/test_coverage_gaps.py(2 lines removed)\n-tests/test_diff.py(3 lines removed)\n-tests/test_loader.py(1 line removed)\n\n### Verification\n- ✅ All 143 tests pass\n- ✅ruff check src/ tests/— all checks passed\n- ✅ruff format --check src/ tests/— 10 files already formatted\n- ✅ Net reduction of 83 lines by consolidating multi-line expressions that fit within the 120-char limit\n\nNo behavioral changes — purely formatting.