Add precious lint tooling and tidy the codebase#88
Merged
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #88 +/- ##
======================================
Coverage 8.57% 8.57%
======================================
Files 1 1
Lines 338 338
Branches 86 86
======================================
Hits 29 29
Misses 304 304
Partials 5 5 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
a8dc414 to
401a0c5
Compare
precious.toml defines the canonical lint/tidy command set (perltidy, perlvars, omegasort). The lint CI job runs `precious lint --all`. scripts/pre-commit runs `precious lint --staged` on commit and blocks direct commits to master; contributors run `scripts/pre-commit --init` once per clone to symlink it into .git/hooks/pre-commit. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Whitespace and formatting only, applied by `precious tidy --all` using the .perltidyrc profile. No functional changes. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
401a0c5 to
6d2658a
Compare
macOS no longer tests Perl 5.14-5.22. On Windows those versions were already commented out (shogo82148/actions-setup-perl#223); drop the dead entries along with the now-stale note. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
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.
Sets up
preciousas theproject's lint/tidy runner. Two commits:
Add precious lint config, CI job, and pre-commit hook
precious.toml— canonical command set:perltidy,perlvars,and
omegasortfor.gitignore..github/workflows/lint.yml— alintjob that runsprecious lint --all.scripts/pre-commit— runsprecious lint --stagedon commit andblocks direct commits to
master. Contributors runscripts/pre-commit --initonce per clone to install it.Tidy entire codebase with
precious tidy --all— whitespace andformatting only, applied with the existing
.perltidyrcprofile. Nofunctional changes.
🤖 Generated with Claude Code