[WIP] Rewrite backends in Rust using Ruff's parser use parquet for storage and faster indexing #303
ci.yml
on: pull_request
ruff
6s
pyright
1m 9s
Matrix: test
Annotations
26 errors and 6 warnings
|
ruff
Process completed with exit code 1.
|
|
test (ubuntu-latest, 3.11)
Process completed with exit code 2.
|
|
test (ubuntu-latest, 3.14)
Process completed with exit code 2.
|
|
test (ubuntu-latest, 3.13)
Process completed with exit code 2.
|
|
test (ubuntu-latest, 3.10)
Process completed with exit code 2.
|
|
pyright:
src/wily/operators/cyclomatic.py#L41
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#L39
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#L145
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#L135
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)
|
|
pyright:
src/wily/commands/graph.py#L11
Import "plotly.offline" could not be resolved (reportMissingImports)
|
|
pyright:
src/wily/commands/graph.py#L10
Import "plotly.graph_objs" could not be resolved (reportMissingImports)
|
|
pyright:
src/wily/archivers/git.py#L12
Import "git.repo" could not be resolved (reportMissingImports)
|
|
pyright:
src/wily/archivers/git.py#L11
Import "git.objects" could not be resolved (reportMissingImports)
|
|
pyright:
src/wily/archivers/git.py#L10
Import "git.exc" could not be resolved (reportMissingImports)
|
|
pyright:
src/wily/__init__.py#L44
Import "colorlog" could not be resolved (reportMissingImports)
|
|
test (macos-latest, 3.11)
Process completed with exit code 2.
|
|
test (ubuntu-latest, 3.12)
Process completed with exit code 2.
|
|
test (macos-latest, 3.13)
Process completed with exit code 2.
|
|
test (macos-latest, 3.12)
Process completed with exit code 2.
|
|
test (macos-latest, 3.10)
Process completed with exit code 2.
|
|
test (windows-latest, 3.10)
Process completed with exit code 1.
|
|
test (windows-latest, 3.14)
Process completed with exit code 1.
|
|
test (windows-latest, 3.13)
Process completed with exit code 1.
|
|
test (windows-latest, 3.12)
Process completed with exit code 1.
|
|
test (macos-latest, 3.14)
Process completed with exit code 2.
|
|
test (windows-latest, 3.11)
Process completed with exit code 1.
|
|
pyright:
test/unit/test_helper.py#L4
Import "tabulate" could not be resolved from source (reportMissingModuleSource)
|
|
pyright:
src/wily/commands/report.py#L13
Import "tabulate" could not be resolved from source (reportMissingModuleSource)
|
|
pyright:
src/wily/commands/rank.py#L17
Import "tabulate" could not be resolved from source (reportMissingModuleSource)
|
|
pyright:
src/wily/commands/list_metrics.py#L7
Import "tabulate" could not be resolved from source (reportMissingModuleSource)
|
|
pyright:
src/wily/commands/index.py#L9
Import "tabulate" could not be resolved from source (reportMissingModuleSource)
|
|
pyright:
src/wily/commands/diff.py#L12
Import "tabulate" could not be resolved from source (reportMissingModuleSource)
|