Skip to content

Normalize HumanName repr indentation and trailing whitespace#212

Merged
derek73 merged 1 commit into
masterfrom
fix/repr-whitespace
Jul 4, 2026
Merged

Normalize HumanName repr indentation and trailing whitespace#212
derek73 merged 1 commit into
masterfrom
fix/repr-whitespace

Conversation

@derek73

@derek73 derek73 commented Jul 4, 2026

Copy link
Copy Markdown
Owner

Summary

  • HumanName.__repr__ mixed tab and space indentation and had inconsistent trailing spaces across attribute lines (some fields carried a stray trailing space before the newline, others didn't)
  • Standardized on 4-space indentation with no trailing whitespace
  • Updated the example blocks in README.rst, docs/usage.rst, and docs/customize.rst to match the real output

Test plan

  • pytest -q — 1270 passed, 4 skipped, 22 xfailed (no change from baseline)
  • sphinx -b doctest — same pre-existing failure count as baseline (5 unrelated failures from global-state leakage between doctest blocks, not touched by this change)

🤖 Generated with Claude Code

__repr__ mixed tabs with spaces and had inconsistent trailing spaces
across attribute lines (some fields carried a stray trailing space
before the newline, others didn't). Standardize on 4-space indentation
with no trailing whitespace, and update the example blocks in
README.rst, docs/usage.rst, and docs/customize.rst to match the real
output.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@derek73 derek73 self-assigned this Jul 4, 2026
@derek73 derek73 added this to the v1.3.0 milestone Jul 4, 2026
@derek73 derek73 merged commit 54d2f46 into master Jul 4, 2026
8 checks passed
@derek73 derek73 deleted the fix/repr-whitespace branch July 4, 2026 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant