Skip to content

chore: normalize end-of-file newlines to match .editorconfig#17

Merged
Coding-Dev-Tools merged 1 commit into
masterfrom
repo-improver/eof-newline-fix
Jun 29, 2026
Merged

chore: normalize end-of-file newlines to match .editorconfig#17
Coding-Dev-Tools merged 1 commit into
masterfrom
repo-improver/eof-newline-fix

Conversation

@Coding-Dev-Tools

Copy link
Copy Markdown
Owner

What

Normalizes end-of-file newlines on five tracked files so they conform to the repository's own declared standards.

  • Add missing final newline: AGENTS.md, CONTRIBUTING.md, requirements.txt
  • Collapse stray trailing blank line: README.md, .gitignore

Why

  • .editorconfig declares insert_final_newline = true for all files.
  • The end-of-file-fixer hook in .pre-commit-config.yaml enforces exactly one trailing newline.

These files currently drift from both. The change is whitespace-only — no code or logic changes.

Verification

  • ruff check src/ --target-version py310 → All checks passed
  • pytest tests/ → 69 passed

Automated hygiene PR from the repo-improver maintenance rotation.

Align tracked files with the repo's declared standards:
- .editorconfig sets insert_final_newline = true
- the end-of-file-fixer pre-commit hook enforces a single trailing newline

Add a missing final newline to AGENTS.md, CONTRIBUTING.md, and
requirements.txt; collapse a stray trailing blank line in README.md
and .gitignore. No code or logic changes; ruff clean and all tests pass.
@github-actions

Copy link
Copy Markdown

🤖 Automated Code Review

✅ Ruff Lint — No issues

⚠️ Ruff Format — Formatting needed

Would reformat: src/apiauth/cli.py
Would reformat: src/apiauth/keygen.py
Would reformat: tests/conftest.py
Would reformat: tests/test_cli.py
4 files would be reformatted, 4 files already formatted

✅ Secret Detection — Clean

✅ Large Files — Within limits

📊 Diff Stats — 5 file(s) changed

 .gitignore       | 1 -
 AGENTS.md        | 2 +-
 CONTRIBUTING.md  | 2 +-
 README.md        | 1 -
 requirements.txt | 2 +-
 5 files changed, 3 insertions(+), 5 deletions(-)

Verdict: ⚠️ Warnings — Lint/format issues found. Recommend fixing before merge.

Automated by Coding-Dev-Tools/.github reusable workflow.

@Coding-Dev-Tools Coding-Dev-Tools merged commit a6b70a2 into master Jun 29, 2026
7 checks passed
@Coding-Dev-Tools Coding-Dev-Tools deleted the repo-improver/eof-newline-fix branch June 29, 2026 10:13
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