-
-
Notifications
You must be signed in to change notification settings - Fork 969
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/19216455341
- Type: C Linting
- Date: 2025-11-10 00:19:13 UTC
Error Details
lib/node_modules/@stdlib/ndarray/base/vind2bind/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/vind2bind/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/vind2bind/benchmark/c/benchmark.c:137:10: style: Variable 'shape' can be declared as const array [constVariable]
int64_t shape[] = { 10, 10, 10 };
^
lib/node_modules/@stdlib/ndarray/base/vind2bind/benchmark/c/benchmark.c:138:10: style: Variable 'strides' can be declared as const array [constVariable]
int64_t strides[] = { 1, -10, 100 };
^
lib/node_modules/@stdlib/ndarray/base/vind2bind/benchmark/c/benchmark.c:171:10: style: Variable 'shape' can be declared as const array [constVariable]
int64_t shape[] = { 10, 10, 10 };
^
lib/node_modules/@stdlib/ndarray/base/vind2bind/benchmark/c/benchmark.c:172:10: style: Variable 'strides' can be declared as const array [constVariable]
int64_t strides[] = { 100, 10, 1 };
^
lib/node_modules/@stdlib/ndarray/base/vind2bind/benchmark/c/benchmark.c:205:10: style: Variable 'shape' can be declared as const array [constVariable]
int64_t shape[] = { 10, 10, 10 };
^
lib/node_modules/@stdlib/ndarray/base/vind2bind/benchmark/c/benchmark.c:206:10: style: Variable 'strides' can be declared as const array [constVariable]
int64_t strides[] = { 1, 10, 100 };
^
lib/node_modules/@stdlib/ndarray/base/vind2bind/benchmark/c/benchmark.c:239:10: style: Variable 'shape' can be declared as const array [constVariable]
int64_t shape[] = { 10, 10, 10 };
^
lib/node_modules/@stdlib/ndarray/base/vind2bind/benchmark/c/benchmark.c:240:10: style: Variable 'strides' can be declared as const array [constVariable]
int64_t strides[] = { 100, -10, 1 };
^
lib/node_modules/@stdlib/ndarray/base/vind2bind/benchmark/c/benchmark.c:273:10: style: Variable 'shape' can be declared as const array [constVariable]
int64_t shape[] = { 10, 10, 10 };
^
lib/node_modules/@stdlib/ndarray/base/vind2bind/benchmark/c/benchmark.c:274:10: style: Variable 'strides' can be declared as const array [constVariable]
int64_t strides[] = { 1, -10, 100 };
^
lib/node_modules/@stdlib/ndarray/base/vind2bind/benchmark/c/benchmark.c:307:10: style: Variable 'shape' can be declared as const array [constVariable]
int64_t shape[] = { 10, 10, 10 };
^
lib/node_modules/@stdlib/ndarray/base/vind2bind/benchmark/c/benchmark.c:308:10: style: Variable 'strides' can be declared as const array [constVariable]
int64_t strides[] = { 100, 10, 1 };
^
lib/node_modules/@stdlib/ndarray/base/vind2bind/benchmark/c/benchmark.c:341:10: style: Variable 'shape' can be declared as const array [constVariable]
int64_t shape[] = { 10, 10, 10 };
^
lib/node_modules/@stdlib/ndarray/base/vind2bind/benchmark/c/benchmark.c:342:10: style: Variable 'strides' can be declared as const array [constVariable]
int64_t strides[] = { 1, 10, 100 };
^
lib/node_modules/@stdlib/ndarray/base/vind2bind/benchmark/c/benchmark.c:375:10: style: Variable 'shape' can be declared as const array [constVariable]
int64_t shape[] = { 10, 10, 10 };
^
lib/node_modules/@stdlib/ndarray/base/vind2bind/benchmark/c/benchmark.c:376:10: style: Variable 'strides' can be declared as const array [constVariable]
int64_t strides[] = { 100, -10, 1 };
^
lib/node_modules/@stdlib/ndarray/base/vind2bind/benchmark/c/benchmark.c:409:10: style: Variable 'shape' can be declared as const array [constVariable]
int64_t shape[] = { 10, 10, 10 };
^
lib/node_modules/@stdlib/ndarray/base/vind2bind/benchmark/c/benchmark.c:410:10: style: Variable 'strides' can be declared as const array [constVariable]
int64_t strides[] = { 1, -10, 100 };
^
lib/node_modules/@stdlib/ndarray/base/vind2bind/benchmark/c/benchmark.c:443:10: style: Variable 'shape' can be declared as const array [constVariable]
int64_t shape[] = { 10, 10, 10 };
^
lib/node_modules/@stdlib/ndarray/base/vind2bind/benchmark/c/benchmark.c:444:10: style: Variable 'strides' can be declared as const array [constVariable]
int64_t strides[] = { 100, 10, 1 };
^
lib/node_modules/@stdlib/ndarray/base/vind2bind/benchmark/c/benchmark.c:477:10: style: Variable 'shape' can be declared as const array [constVariable]
int64_t shape[] = { 10, 10, 10 };
^
lib/node_modules/@stdlib/ndarray/base/vind2bind/benchmark/c/benchmark.c:478:10: style: Variable 'strides' can be declared as const array [constVariable]
int64_t strides[] = { 1, 10, 100 };
^
lib/node_modules/@stdlib/ndarray/base/vind2bind/benchmark/c/benchmark.c:511:10: style: Variable 'shape' can be declared as const array [constVariable]
int64_t shape[] = { 10, 10, 10 };
^
lib/node_modules/@stdlib/ndarray/base/vind2bind/benchmark/c/benchmark.c:512:10: style: Variable 'strides' can be declared as const array [constVariable]
int64_t strides[] = { 100, -10, 1 };
^
lib/node_modules/@stdlib/ndarray/base/vind2bind/benchmark/c/benchmark.c:545:10: style: Variable 'shape' can be declared as const array [constVariable]
int64_t shape[] = { 10, 10, 10 };
^
lib/node_modules/@stdlib/ndarray/base/vind2bind/benchmark/c/benchmark.c:546:10: style: Variable 'strides' can be declared as const array [constVariable]
int64_t strides[] = { 1, -10, 100 };
^
lib/node_modules/@stdlib/ndarray/base/vind2bind/benchmark/c/benchmark.c:579:10: style: Variable 'shape' can be declared as const array [constVariable]
int64_t shape[] = { 10, 10, 10 };
^
lib/node_modules/@stdlib/ndarray/base/vind2bind/benchmark/c/benchmark.c:580:10: style: Variable 'strides' can be declared as const array [constVariable]
int64_t strides[] = { 100, 10, 1 };
^
lib/node_modules/@stdlib/ndarray/base/vind2bind/benchmark/c/benchmark.c:613:10: style: Variable 'shape' can be declared as const array [constVariable]
int64_t shape[] = { 10, 10, 10 };
^
lib/node_modules/@stdlib/ndarray/base/vind2bind/benchmark/c/benchmark.c:614: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