Repository navigation
style: add missing whitespace - #16522
Merged
Merged
Conversation
Propagates fix from 7349dff ("style: add missing whitespace") to sibling packages whose README, REPL, and TypeScript declaration examples contain parentheses opened with a space but closed without one. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017wWD7AwF3MfT8Zjnw6ezVV
Contributor
Coverage Report
The above coverage report was generated for the changes in this PR. |
The REPL help linter flags all files it touches. These files already fail on `develop`: `blas/ext/base/wasm/*apxsum*` redeclares `x` in the `ndarray` example, and the `weibull/logcdf` doctest expects `-0.0`. Fixing either falls outside the scope of this propagation. The `weibull/logcdf` doctest fix is already in #15797. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017wWD7AwF3MfT8Zjnw6ezVV
kgryte
approved these changes
Nov 6, 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
This pull request:
developbetween 2026-11-05 13:17 UTC and 2026-11-06 13:17 UTC to sibling packages.(but close with). The same asymmetry exists in user-facing README and TypeScript declaration examples in the following packages:array/typedarray/typed-complexarray/typed-realnumber/int32/base/muldwstats/base/dists/gumbelRelated Issues
No.
Reference Packages
This pull request followed these packages:
Questions
No.
Other
Validation. The search ran a paren-matching scan over all
.js,.ts,.md, and.txtfiles underlib/node_modules/@stdlib, excluding_tools,data, andfixtures. It found 286 asymmetric sites in 229 files. The scope was then narrowed to user-facing docs (README code blocks,docs/repl.txt,docs/types/index.d.ts, and JSDoc inlib/), which left 14 sites. Two independent validation passes confirmed each remaining site. A style-consistency pass then checked each site against sibling packages. A separate adaptation pass was not needed because the fix is mechanical. Every edit is whitespace outside string literals, so no example output changes.Deliberately excluded:
math/base/special/docs/types/index.d.ts(ns.cosd( 90.0)andns.sind( 90.0)). This namespace declaration is regenerated from the package declarations, and those were already fixed in 7349dff.docs/repl.txtsites inblas/ext/base/wasm/{dapxsum,dapxsumkbn,dapxsumors,dapxsumpw,sapxsumkbn}andstats/base/dists/weibull/logcdf. The REPL linter checks every file it touches, and these files already fail lint ondevelop(a redeclaredx, and a-0.0doctest that fix: avoid underflow for smallxinstats/base/dists/weibull/logcdf#15797 fixes). They were reverted in 1acd93f so this PR does not take on unrelated fixes.ndarray/base/*/test/test.*d.jsandndarray/base/fill*/benchmark/*). These are not user-facing, so they are left for a dedicated lint pass.for (loop headers (e.g.,number/int32/base/muldw/README.md:95). These fall outside the call/signature search signature.Checklist
AI Assistance
If you answered "yes" above, how did you use AI assistance?
Disclosure
This PR was written primarily by Claude Code as part of an automated fix-propagation routine.
🤖 Generated with Claude Code
https://claude.ai/code/session_017wWD7AwF3MfT8Zjnw6ezVV