Skip to content

fix: docs/requirements_docs.txt to reduce vulnerabilities (#237) #286

fix: docs/requirements_docs.txt to reduce vulnerabilities (#237)

fix: docs/requirements_docs.txt to reduce vulnerabilities (#237) #286

Triggered via push October 19, 2025 04:53
Status Failure
Total duration 3m 48s
Artifacts

ci.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

30 errors
test (ubuntu-latest, 3.7)
The version '3.7' with architecture 'x64' was not found for Ubuntu 24.04. The list of all available versions can be found here: https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json
ruff
Process completed with exit code 2.
test (macos-latest, 3.11)
Process completed with exit code 2.
pyright: src/wily/operators/halstead.py#L102
Argument of type "Overload[(iterable: Iterable[_LiteralInteger | bool], /, start: int = 0) -> int, (iterable: Iterable[_SupportsSumNoDefaultT@sum], /) -> (_SupportsSumNoDefaultT@sum | Literal[0]), (iterable: Iterable[_AddableT1@sum], /, start: _AddableT2@sum) -> (_AddableT1@sum | _AddableT2@sum)]" cannot be assigned to parameter "aggregate" of type "(Iterable[TValue@Metric]) -> TValue@Metric" in function "__init__"   No overloaded function matches type "(Iterable[TValue@Metric]) -> TValue@Metric" (reportArgumentType)
pyright: src/wily/operators/halstead.py#L102
Argument of type "type[int]" cannot be assigned to parameter "metric_type" of type "TValue@Metric" in function "__init__"   Type "type[int]" is not assignable to constrained type variable "TValue" (reportArgumentType)
pyright: src/wily/operators/halstead.py#L101
Argument of type "Overload[(iterable: Iterable[_LiteralInteger | bool], /, start: int = 0) -> int, (iterable: Iterable[_SupportsSumNoDefaultT@sum], /) -> (_SupportsSumNoDefaultT@sum | Literal[0]), (iterable: Iterable[_AddableT1@sum], /, start: _AddableT2@sum) -> (_AddableT1@sum | _AddableT2@sum)]" cannot be assigned to parameter "aggregate" of type "(Iterable[TValue@Metric]) -> TValue@Metric" in function "__init__"   No overloaded function matches type "(Iterable[TValue@Metric]) -> TValue@Metric" (reportArgumentType)
pyright: src/wily/operators/halstead.py#L101
Argument of type "type[int]" cannot be assigned to parameter "metric_type" of type "TValue@Metric" in function "__init__"   Type "type[int]" is not assignable to constrained type variable "TValue" (reportArgumentType)
pyright: src/wily/operators/halstead.py#L100
Argument of type "Overload[(iterable: Iterable[_LiteralInteger | bool], /, start: int = 0) -> int, (iterable: Iterable[_SupportsSumNoDefaultT@sum], /) -> (_SupportsSumNoDefaultT@sum | Literal[0]), (iterable: Iterable[_AddableT1@sum], /, start: _AddableT2@sum) -> (_AddableT1@sum | _AddableT2@sum)]" cannot be assigned to parameter "aggregate" of type "(Iterable[TValue@Metric]) -> TValue@Metric" in function "__init__"   No overloaded function matches type "(Iterable[TValue@Metric]) -> TValue@Metric" (reportArgumentType)
pyright: src/wily/operators/halstead.py#L100
Argument of type "type[int]" cannot be assigned to parameter "metric_type" of type "TValue@Metric" in function "__init__"   Type "type[int]" is not assignable to constrained type variable "TValue" (reportArgumentType)
pyright: src/wily/operators/cyclomatic.py#L42
Argument of type "(data: Iterable[_NumberT@mean]) -> _NumberT@mean" cannot be assigned to parameter "aggregate" of type "(Iterable[TValue@Metric]) -> TValue@Metric" in function "__init__"   Type "(data: Iterable[_NumberT@mean]) -> _NumberT@mean" is not assignable to type "(Iterable[TValue@Metric]) -> TValue@Metric"     Parameter 1: type "Iterable[TValue@Metric]" is incompatible with type "Iterable[_NumberT@mean]"       "Iterable[TValue@Metric]" is not assignable to "Iterable[_NumberT@mean]"         Type parameter "_T_co@Iterable" is covariant, but "TValue@Metric" is not a subtype of "_NumberT@mean"           Type "TValue@Metric" is not assignable to constrained type variable "_NumberT"     Function return type "_NumberT@mean" is incompatible with type "TValue@Metric"       Type "_NumberT@mean" is not assignable to constrained type variable "TValue" (reportArgumentType)
pyright: src/wily/operators/cyclomatic.py#L40
Argument of type "type[float]" cannot be assigned to parameter "metric_type" of type "TValue@Metric" in function "__init__"   Type "type[float]" is not assignable to constrained type variable "TValue" (reportArgumentType)
pyright: src/wily/commands/report.py#L148
Argument of type "tuple[str, str, str, *tuple[Unknown, ...]]" cannot be assigned to parameter "object" of type "Tuple[str, ...]" in function "append"   "tuple[str, str, str, *tuple[Unknown, ...]]" is not assignable to "Tuple[str, ...]"     Tuple size mismatch; expected 0 or more but received 3 (reportArgumentType)
pyright: src/wily/commands/report.py#L138
Argument of type "tuple[str, str, str, str, *tuple[Unknown, ...]]" cannot be assigned to parameter "object" of type "Tuple[str, ...]" in function "append"   "tuple[str, str, str, str, *tuple[Unknown, ...]]" is not assignable to "Tuple[str, ...]"     Tuple size mismatch; expected 0 or more but received 4 (reportArgumentType)
test (ubuntu-latest, 3.9)
Process completed with exit code 2.
test (macos-latest, 3.12)
Process completed with exit code 2.
test (ubuntu-latest, 3.11)
Process completed with exit code 2.
test (ubuntu-latest, 3.10)
Process completed with exit code 2.
test (ubuntu-latest, 3.8)
Process completed with exit code 2.
test (macos-latest, 3.7)
The version '3.7' with architecture 'arm64' was not found for macOS 15.6.1. The list of all available versions can be found here: https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json
test (ubuntu-latest, 3.12)
Process completed with exit code 2.
test (macos-latest, 3.10)
Process completed with exit code 2.
test (macos-latest, 3.9)
Process completed with exit code 2.
test (macos-latest, 3.8)
Process completed with exit code 2.
test (macos-latest, 3.8)
[notice] A new release of pip is available: 21.1.1 -> 25.0.1 [notice] To update, run: python3.8 -m pip install --upgrade pip
test (windows-latest, 3.10)
Process completed with exit code 1.
test (windows-latest, 3.11)
Process completed with exit code 1.
test (windows-latest, 3.7)
Process completed with exit code 1.
test (windows-latest, 3.8)
Process completed with exit code 1.
test (windows-latest, 3.12)
Process completed with exit code 1.
test (windows-latest, 3.9)
Process completed with exit code 1.