style: remove extra trailing newlines#13016
Merged
Merged
Conversation
Propagates fix from 50a34cf ("style: remove extra trailing newlines") to sibling Makefiles ending with `.PHONY: clean\n\n` (or, in one case, `\n\n\n`). The source commit removed a single trailing blank line from five files under `stats/base/dists/planck`; this commit applies the same mechanical fix to 22 Makefiles under `math/base/special/*` and one Makefile under `stats/base/dists/halfnormal/logpdf` that exhibit the identical EOF pattern. Each file now ends with exactly one `\n`, conforming to the repository-wide `insert_final_newline` / `trim_trailing_whitespace` editorconfig directives.
Contributor
Coverage Report
The above coverage report was generated for the changes in this PR. |
kgryte
approved these changes
Jun 21, 2026
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.
Description
Propagating fixes merged to
developbetweenb04b44547c(2026-06-20 14:32 PDT) ande6e7d42b10(2026-06-21 02:36 PDT) to sibling packages.This pull request:
Removes the extra trailing blank line at EOF from 22 Makefiles under
math/base/special/*and one Makefile understats/base/dists/halfnormal/logpdfthat exhibit the identical EOF pattern fixed in50a34cff(style: remove extra trailing newlines). The source commit removed a single trailing blank line from five files understats/base/dists/planck; the same one-byte fix applies verbatim here. Targets — all 23 ending.PHONY: clean\n\n(or, forhalfnormal/logpdf/benchmark/c/Makefile,\n\n\n):@stdlib/math/base/special/acos/src/Makefile@stdlib/math/base/special/acosd/src/Makefile@stdlib/math/base/special/acosdf/src/Makefile@stdlib/math/base/special/acosh/src/Makefile@stdlib/math/base/special/acoshf/src/Makefile@stdlib/math/base/special/asinh/src/Makefile@stdlib/math/base/special/asinhf/src/Makefile@stdlib/math/base/special/atan/src/Makefile@stdlib/math/base/special/atan2/src/Makefile@stdlib/math/base/special/atan2d/src/Makefile@stdlib/math/base/special/atanh/src/Makefile@stdlib/math/base/special/besselj1/src/Makefile@stdlib/math/base/special/cosh/src/Makefile@stdlib/math/base/special/coshf/src/Makefile@stdlib/math/base/special/erf/src/Makefile@stdlib/math/base/special/erfc/src/Makefile@stdlib/math/base/special/erfcinv/src/Makefile@stdlib/math/base/special/erfcx/src/Makefile@stdlib/math/base/special/erfinv/src/Makefile@stdlib/math/base/special/kernel-cos/benchmark/c/native/Makefile@stdlib/math/base/special/kernel-sincos/benchmark/c/native/Makefile@stdlib/math/base/special/kernel-sincosf/benchmark/c/native/Makefile@stdlib/stats/base/dists/halfnormal/logpdf/benchmark/c/MakefileEach file now ends with exactly one
\n, conforming to the repository-wideinsert_final_newline = trueandtrim_trailing_whitespace = true.editorconfigdirectives.Related Issues
None.
Questions
No.
Other
Generated by an automated fix-propagation routine over the 15 commits merged to
developin the 24h window ending 2026-06-21. Four other source commits were inspected and dropped during pattern specification or pre-validation:1f05813f(docs: fix note— t-entropyv < 0→v <= 0) — sibling t-distribution packages either already use<=semantics or are validly defined atv = 0(e.g.t/median,t/modereturn0.0atv = 0), so the doc-text correction does not apply.b3383d13(fix: use correct element type—typedndarray<number>→typedndarray<unknown>for the genericgindex-of-falsy) — the only direct-parameter sibling (gindex-of-truthy) is already on<unknown>; remaining g-prefixed packages legitimately constrain elements tonumberfor sum/cumsum/axpy arithmetic.7f1c224c(docs: update descriptions— anglit/mean Greek symbols,σ > 0constraint,Evaluates→Returns) — the only anglit sibling (anglit/median) already carries both edits.5c56631c(test: fix mismatched test filenames) and7f87b929(chore: fix JavaScript lint errors) — no concrete grep-able search signature; dropped at pattern specification.Validation
Two independent opus validation passes verified each target file ends with at least one trailing blank line after
.PHONY: clean, carries noDo not manually edit/AUTOGENERATEDmarker, and is not the artifact of a template generator. A sonnet style-consistency pass sampled 20 sibling Makefiles and the root.editorconfigto confirm "single newline at EOF" is the dominant convention. Deliberately excluded from this PR:gypi/Makefilefiles under other namespaces that did not exhibit the trailing-blank-line pattern (scan covered 4,926 Makefiles and 1,500include.gypifiles repo-wide).Checklist
AI Assistance
If you answered "yes" above, how did you use AI assistance?
Disclosure
This PR was authored by Claude Code on behalf of @Planeshifter as an automated propagation of fixes merged to
developover the prior 24 hours. Candidate source commits were filtered for generalizable patterns, sibling sites located via grep-able pattern signatures, and each proposed patch independently validated by parallel reviewer agents before commits were applied in the primary worktree. A human will audit and promote the PR out of draft.@stdlib-js/reviewers
Generated by Claude Code