Skip to content

chore: add .perltidyrc and tidy all .pm files - #207

Draft
toddr-bot wants to merge 1 commit into
cpan-authors:mainfrom
toddr-bot:koan.toddr.bot/add-perltidyrc
Draft

chore: add .perltidyrc and tidy all .pm files#207
toddr-bot wants to merge 1 commit into
cpan-authors:mainfrom
toddr-bot:koan.toddr.bot/add-perltidyrc

Conversation

@toddr-bot

@toddr-bot toddr-bot commented Jun 18, 2026

Copy link
Copy Markdown
Collaborator

What

Add the .perltidyrc referenced in CLAUDE.md and apply it to all lib/**/*.pm files.

Why

CLAUDE.md states "a .perltidyrc file exists in the base of the repo and we enforce tidiness
in any .pm file" but the file was never committed. This creates the config and enforces it
on the existing code so the convention is real, not aspirational.

How

Config: -l=120 -i=4 -ci=4 -nce -pt=1 -sbt=1 -bt=1 -nsfs — chosen to match the existing
code style with minimal diff. Changes are whitespace-only: continuation indent normalization,
long-line wrapping of the our (...) declaration, and paren spacing consistency.

The file is already in MANIFEST.SKIP so it won't ship in the CPAN tarball.

Testing

Full test suite passes. Perltidy is idempotent on all four .pm files after the change.


Quality Report

Changes: 5 files changed, 27 insertions(+), 13 deletions(-)

Code scan: clean

Tests: passed (OK)

Branch hygiene: clean

Generated by Kōan

CLAUDE.md references .perltidyrc but the file was never committed.
Add a config matching the existing code style and apply it to all
lib/**/*.pm files. Changes are whitespace-only: continuation indent
normalization, long-line wrapping, and paren spacing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant