-
-
Notifications
You must be signed in to change notification settings - Fork 866
Closed
Description
C Linting Failures
Linting failures were detected in the automated lint workflow run.
Workflow Details
- Run: https://github.com/stdlib-js/stdlib/actions/runs/17223898750
- Type: C Linting
- Date: 2025-08-26 00:12:57 UTC
Error Details
lib/node_modules/@stdlib/ndarray/base/ind2sub/benchmark/c/benchmark.c:103:10: style: Variable 'shape' can be declared as const array [constVariable]
int64_t shape[] = { 10, 10, 10 };
^
lib/node_modules/@stdlib/ndarray/base/ind2sub/benchmark/c/benchmark.c:104:10: style: Variable 'strides' can be declared as const array [constVariable]
int64_t strides[] = { 100, -10, 1 };
^
lib/node_modules/@stdlib/ndarray/base/ind2sub/benchmark/c/benchmark.c:139:10: style: Variable 'shape' can be declared as const array [constVariable]
int64_t shape[] = { 10, 10, 10 };
^
lib/node_modules/@stdlib/ndarray/base/ind2sub/benchmark/c/benchmark.c:140:10: style: Variable 'strides' can be declared as const array [constVariable]
int64_t strides[] = { 1, -10, 100 };
^
lib/node_modules/@stdlib/ndarray/base/ind2sub/benchmark/c/benchmark.c:175:10: style: Variable 'shape' can be declared as const array [constVariable]
int64_t shape[] = { 10, 10, 10 };
^
lib/node_modules/@stdlib/ndarray/base/ind2sub/benchmark/c/benchmark.c:176:10: style: Variable 'strides' can be declared as const array [constVariable]
int64_t strides[] = { 100, 10, 1 };
^
lib/node_modules/@stdlib/ndarray/base/ind2sub/benchmark/c/benchmark.c:211:10: style: Variable 'shape' can be declared as const array [constVariable]
int64_t shape[] = { 10, 10, 10 };
^
lib/node_modules/@stdlib/ndarray/base/ind2sub/benchmark/c/benchmark.c:212:10: style: Variable 'strides' can be declared as const array [constVariable]
int64_t strides[] = { 1, 10, 100 };
^
lib/node_modules/@stdlib/ndarray/base/ind2sub/benchmark/c/benchmark.c:247:10: style: Variable 'shape' can be declared as const array [constVariable]
int64_t shape[] = { 10, 10, 10 };
^
lib/node_modules/@stdlib/ndarray/base/ind2sub/benchmark/c/benchmark.c:248:10: style: Variable 'strides' can be declared as const array [constVariable]
int64_t strides[] = { 100, -10, 1 };
^
lib/node_modules/@stdlib/ndarray/base/ind2sub/benchmark/c/benchmark.c:283:10: style: Variable 'shape' can be declared as const array [constVariable]
int64_t shape[] = { 10, 10, 10 };
^
lib/node_modules/@stdlib/ndarray/base/ind2sub/benchmark/c/benchmark.c:284:10: style: Variable 'strides' can be declared as const array [constVariable]
int64_t strides[] = { 1, -10, 100 };
^
lib/node_modules/@stdlib/ndarray/base/ind2sub/benchmark/c/benchmark.c:319:10: style: Variable 'shape' can be declared as const array [constVariable]
int64_t shape[] = { 10, 10, 10 };
^
lib/node_modules/@stdlib/ndarray/base/ind2sub/benchmark/c/benchmark.c:320:10: style: Variable 'strides' can be declared as const array [constVariable]
int64_t strides[] = { 100, 10, 1 };
^
lib/node_modules/@stdlib/ndarray/base/ind2sub/benchmark/c/benchmark.c:355:10: style: Variable 'shape' can be declared as const array [constVariable]
int64_t shape[] = { 10, 10, 10 };
^
lib/node_modules/@stdlib/ndarray/base/ind2sub/benchmark/c/benchmark.c:356:10: style: Variable 'strides' can be declared as const array [constVariable]
int64_t strides[] = { 1, 10, 100 };
^
lib/node_modules/@stdlib/ndarray/base/ind2sub/benchmark/c/benchmark.c:391:10: style: Variable 'shape' can be declared as const array [constVariable]
int64_t shape[] = { 10, 10, 10 };
^
lib/node_modules/@stdlib/ndarray/base/ind2sub/benchmark/c/benchmark.c:392:10: style: Variable 'strides' can be declared as const array [constVariable]
int64_t strides[] = { 100, -10, 1 };
^
lib/node_modules/@stdlib/ndarray/base/ind2sub/benchmark/c/benchmark.c:427:10: style: Variable 'shape' can be declared as const array [constVariable]
int64_t shape[] = { 10, 10, 10 };
^
lib/node_modules/@stdlib/ndarray/base/ind2sub/benchmark/c/benchmark.c:428:10: style: Variable 'strides' can be declared as const array [constVariable]
int64_t strides[] = { 1, -10, 100 };
^
lib/node_modules/@stdlib/ndarray/base/ind2sub/benchmark/c/benchmark.c:463:10: style: Variable 'shape' can be declared as const array [constVariable]
int64_t shape[] = { 10, 10, 10 };
^
lib/node_modules/@stdlib/ndarray/base/ind2sub/benchmark/c/benchmark.c:464:10: style: Variable 'strides' can be declared as const array [constVariable]
int64_t strides[] = { 100, 10, 1 };
^
lib/node_modules/@stdlib/ndarray/base/ind2sub/benchmark/c/benchmark.c:499:10: style: Variable 'shape' can be declared as const array [constVariable]
int64_t shape[] = { 10, 10, 10 };
^
lib/node_modules/@stdlib/ndarray/base/ind2sub/benchmark/c/benchmark.c:500:10: style: Variable 'strides' can be declared as const array [constVariable]
int64_t strides[] = { 1, 10, 100 };
^
lib/node_modules/@stdlib/ndarray/base/ind2sub/benchmark/c/benchmark.c:535:10: style: Variable 'shape' can be declared as const array [constVariable]
int64_t shape[] = { 10, 10, 10 };
^
lib/node_modules/@stdlib/ndarray/base/ind2sub/benchmark/c/benchmark.c:536:10: style: Variable 'strides' can be declared as const array [constVariable]
int64_t strides[] = { 100, -10, 1 };
^
lib/node_modules/@stdlib/ndarray/base/ind2sub/benchmark/c/benchmark.c:571:10: style: Variable 'shape' can be declared as const array [constVariable]
int64_t shape[] = { 10, 10, 10 };
^
lib/node_modules/@stdlib/ndarray/base/ind2sub/benchmark/c/benchmark.c:572:10: style: Variable 'strides' can be declared as const array [constVariable]
int64_t strides[] = { 1, -10, 100 };
^
lib/node_modules/@stdlib/ndarray/base/ind2sub/benchmark/c/benchmark.c:607:10: style: Variable 'shape' can be declared as const array [constVariable]
int64_t shape[] = { 10, 10, 10 };
^
lib/node_modules/@stdlib/ndarray/base/ind2sub/benchmark/c/benchmark.c:608:10: style: Variable 'strides' can be declared as const array [constVariable]
int64_t strides[] = { 100, 10, 1 };
^
lib/node_modules/@stdlib/ndarray/base/ind2sub/benchmark/c/benchmark.c:643:10: style: Variable 'shape' can be declared as const array [constVariable]
int64_t shape[] = { 10, 10, 10 };
^
lib/node_modules/@stdlib/ndarray/base/ind2sub/benchmark/c/benchmark.c:644:10: style: Variable 'strides' can be declared as const array [constVariable]
int64_t strides[] = { 1, 10, 100 };
^
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>".
Metadata
Metadata
Assignees
Labels
No labels