feat: traceability metrics #886
Annotations
10 errors and 11 warnings
|
lint:
src/extensions/score_metamodel/tests/test_traceability_metrics_json_generation.py#L62
Argument of type "SimpleNamespace" cannot be assigned to parameter "app" of type "Sphinx" in function "_write_metrics_json"
"SimpleNamespace" is not assignable to "Sphinx" (reportArgumentType)
|
|
lint:
src/extensions/score_metamodel/tests/test_traceability_dashboard.py#L206
Argument of type "list[dict[str, object]]" cannot be assigned to parameter "needs" of type "list[NeedItem]" in function "pie_process_requirements_linked"
"list[dict[str, object]]" is not assignable to "list[NeedItem]"
Type parameter "_T@list" is invariant, but "dict[str, object]" is not the same as "NeedItem"
Consider switching from "list" to "Sequence" which is covariant (reportArgumentType)
|
|
lint:
src/extensions/score_metamodel/tests/test_traceability_dashboard.py#L173
Argument of type "list[dict[str, object]]" cannot be assigned to parameter "needs" of type "list[NeedItem]" in function "pie_requirements_fully_linked"
"list[dict[str, object]]" is not assignable to "list[NeedItem]"
Type parameter "_T@list" is invariant, but "dict[str, object]" is not the same as "NeedItem"
Consider switching from "list" to "Sequence" which is covariant (reportArgumentType)
|
|
lint:
src/extensions/score_metamodel/tests/test_traceability_dashboard.py#L152
Argument of type "list[dict[str, object]]" cannot be assigned to parameter "needs" of type "list[NeedItem]" in function "pie_requirements_fully_linked"
"list[dict[str, object]]" is not assignable to "list[NeedItem]"
Type parameter "_T@list" is invariant, but "dict[str, object]" is not the same as "NeedItem"
Consider switching from "list" to "Sequence" which is covariant (reportArgumentType)
|
|
lint:
src/extensions/score_metamodel/tests/test_traceability_dashboard.py#L143
Argument of type "list[dict[str, object]]" cannot be assigned to parameter "needs" of type "list[NeedItem]" in function "pie_requirements_with_test_links"
"list[dict[str, object]]" is not assignable to "list[NeedItem]"
Type parameter "_T@list" is invariant, but "dict[str, object]" is not the same as "NeedItem"
Consider switching from "list" to "Sequence" which is covariant (reportArgumentType)
|
|
lint:
src/extensions/score_metamodel/tests/test_traceability_dashboard.py#L134
Argument of type "list[dict[str, object]]" cannot be assigned to parameter "needs" of type "list[NeedItem]" in function "pie_requirements_with_test_links"
"list[dict[str, object]]" is not assignable to "list[NeedItem]"
Type parameter "_T@list" is invariant, but "dict[str, object]" is not the same as "NeedItem"
Consider switching from "list" to "Sequence" which is covariant (reportArgumentType)
|
|
lint:
src/extensions/score_metamodel/tests/test_traceability_dashboard.py#L113
Argument of type "list[dict[str, object]]" cannot be assigned to parameter "needs" of type "list[NeedItem]" in function "pie_requirements_with_test_links"
"list[dict[str, object]]" is not assignable to "list[NeedItem]"
Type parameter "_T@list" is invariant, but "dict[str, object]" is not the same as "NeedItem"
Consider switching from "list" to "Sequence" which is covariant (reportArgumentType)
|
|
lint:
src/extensions/score_metamodel/tests/test_traceability_dashboard.py#L104
Argument of type "list[dict[str, object]]" cannot be assigned to parameter "needs" of type "list[NeedItem]" in function "pie_requirements_with_code_links"
"list[dict[str, object]]" is not assignable to "list[NeedItem]"
Type parameter "_T@list" is invariant, but "dict[str, object]" is not the same as "NeedItem"
Consider switching from "list" to "Sequence" which is covariant (reportArgumentType)
|
|
lint:
src/extensions/score_metamodel/tests/test_traceability_dashboard.py#L83
Argument of type "list[dict[str, object]]" cannot be assigned to parameter "needs" of type "list[NeedItem]" in function "pie_requirements_with_code_links"
"list[dict[str, object]]" is not assignable to "list[NeedItem]"
Type parameter "_T@list" is invariant, but "dict[str, object]" is not the same as "NeedItem"
Consider switching from "list" to "Sequence" which is covariant (reportArgumentType)
|
|
lint:
src/extensions/score_metamodel/tests/test_traceability_dashboard.py#L62
Argument of type "list[dict[str, object]]" cannot be assigned to parameter "needs" of type "list[NeedItem]" in function "pie_requirements_with_code_links"
"list[dict[str, object]]" is not assignable to "list[NeedItem]"
Type parameter "_T@list" is invariant, but "dict[str, object]" is not the same as "NeedItem"
Consider switching from "list" to "Sequence" which is covariant (reportArgumentType)
|
|
lint
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4.2.2, bazel-contrib/setup-bazel@0.15.0. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
lint:
score_pytest/tests/test_rules_are_working_correctly.py#L13
Type annotation is missing for parameter "fixture42" (reportMissingParameterType)
|
|
lint:
score_pytest/attribute_plugin.py#L131
Type of "clean_file_path" is unknown (reportUnknownVariableType)
|
|
lint:
score_pytest/attribute_plugin.py#L128
Type of "_" is unknown (reportUnknownVariableType)
|
|
lint:
score_pytest/attribute_plugin.py#L128
Type of "line_number" is unknown (reportUnknownVariableType)
|
|
lint:
score_pytest/attribute_plugin.py#L128
Type of "raw_file_path" is unknown (reportUnknownVariableType)
|
|
lint:
score_pytest/attribute_plugin.py#L127
Type of "node" is unknown (reportUnknownVariableType)
|
|
lint:
score_pytest/attribute_plugin.py#L118
Type of "v" is unknown (reportUnknownVariableType)
|
|
lint:
score_pytest/attribute_plugin.py#L118
Type of "k" is unknown (reportUnknownVariableType)
|
|
lint:
score_pytest/attribute_plugin.py#L94
Type of "report" is unknown (reportUnknownVariableType)
|
|
lint:
score_pytest/attribute_plugin.py#L93
Type of "outcome" is unknown (reportUnknownVariableType)
|