Fix C lint errors
まだ誰も着手していません。
評価
調査の方向性
workflow 実行 29132267579 で特定された stdlib_ndarray_is_contiguous シグネチャの lib/node_modules/@stdlib/ndarray/base/assert/is-contiguous/src/main.c から始めます。報告された shape と strides の constParameterPointer 警告を確認し、その後 C lint workflow またはそのローカル相当物を実行します。報告された lint エラーが発生しなくなれば完了です。
索引モデルが issue の本文から書いたものです。
説明
C Linting Failures
Linting failures were detected in the automated lint workflow run.
Workflow Details
- Run: https://github.com/stdlib-js/stdlib/actions/runs/29132267579
- Type: C Linting
- Date: 2026-07-11 00:37:01 UTC
Error Details
lib/node_modules/@stdlib/ndarray/base/assert/is-contiguous/src/main.c:51:95: style: Parameter 'shape' can be declared as pointer to const [constParameterPointer]
int8_t stdlib_ndarray_is_contiguous( enum STDLIB_NDARRAY_DTYPE dtype, int64_t ndims, int64_t *shape, int64_t *strides, int64_t offset ) {
^
lib/node_modules/@stdlib/ndarray/base/assert/is-contiguous/src/main.c:51:111: style: Parameter 'strides' can be declared as pointer to const [constParameterPointer]
int8_t stdlib_ndarray_is_contiguous( enum STDLIB_NDARRAY_DTYPE dtype, int64_t ndims, int64_t *shape, int64_t *strides, int64_t offset ) {
^
Pull Request Instructions
- Please use the following PR title format:
"chore: fix C lint errors (issue #<ISSUE_NUMBER>)". - Reference this issue in the "Related Issues" section of the PR body as "resolves #<ISSUE_NUMBER>".
- 主要言語
- JavaScript
- スター
- 6k
- フォーク
- 1.3k
- 平均マージ
- 1日 1時間
- マージ済み PR(30日)
- 559
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
stdlib-js/stdlib のほかの issue
-
Good First Issue
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
-
Good First Issue
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
Good First Issue
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
-
Good First Issue
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
stdlib-js/stdlib の issue をすべて見る
似ている issue
-
curation good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
amponce/archive-movie-browser#186 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
clerk/javascript#9852 ·
-
bug p1 tools
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
HarperFast/skills#96 ·
-
factory-active factory-automatic task-bug-reproduction-cannot-reproduce task-identify-harness-labels-done task-identify-issue-type-done
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100