Skip to content

Proper typing, igraph update, rest of tooling (Ruff, mypy, etc.) #126

Proper typing, igraph update, rest of tooling (Ruff, mypy, etc.)

Proper typing, igraph update, rest of tooling (Ruff, mypy, etc.) #126

Triggered via pull request June 23, 2024 20:05
@theCapyparatheCapypara
synchronize #41
tooling
Status Failure
Total duration 1m 20s
Artifacts 9

build-test-publish.yml

on: pull_request
Matrix: Runs tests
Matrix: Type checks
Linting
10s
Linting
Code Format
13s
Code Format
Publish Test Results Event File
6s
Publish Test Results Event File
Build the Python wheel
0s
Build the Python wheel
Deploy wheels to PyPI
0s
Deploy wheels to PyPI
Fit to window
Zoom out
Zoom in

Annotations

20 errors
Type checks (3.10): explorerscript/cli/decompile.py#L32
Module "typing" has no attribute "NotRequired" [attr-defined]
Type checks (3.10): explorerscript/cli/decompile.py#L32
Use `from typing_extensions import NotRequired` instead
Type checks (3.10): explorerscript/cli/decompile.py#L32
See https://mypy.readthedocs.io/en/stable/runtime_troubles.html#using-new-additions-to-the-typing-module
Type checks (3.10): explorerscript/cli/compile.py#L32
Module "typing" has no attribute "NotRequired" [attr-defined]
Type checks (3.10): explorerscript/cli/compile.py#L32
Use `from typing_extensions import NotRequired` instead
Type checks (3.10): explorerscript/cli/compile.py#L32
See https://mypy.readthedocs.io/en/stable/runtime_troubles.html#using-new-additions-to-the-typing-module
Type checks (3.10): explorerscript/cli/compile.py#L100
Missing key "target_id" for TypedDict "RoutineDict" [typeddict-item]
Type checks (3.10): explorerscript/cli/compile.py#L102
Missing keys ("name", "target_id") for TypedDict "RoutineDict" [typeddict-item]
Type checks (3.10): explorerscript/cli/compile.py#L104
Missing key "name" for TypedDict "RoutineDict" [typeddict-item]
Type checks (3.10): explorerscript/cli/compile.py#L110
Missing key "name" for TypedDict "RoutineDict" [typeddict-item]
Type checks (3.9): explorerscript/ssb_converting/decompiler/write_handlers/block.py#L29
Module "typing" has no attribute "TypeAlias" [attr-defined]
Type checks (3.9): explorerscript/ssb_converting/decompiler/write_handlers/block.py#L29
Use `from typing_extensions import TypeAlias` instead
Type checks (3.9): explorerscript/ssb_converting/decompiler/write_handlers/block.py#L29
See https://mypy.readthedocs.io/en/stable/runtime_troubles.html#using-new-additions-to-the-typing-module
Type checks (3.9): explorerscript/ssb_converting/compiler/compile_handlers/abstract.py#L29
Module "typing" has no attribute "TypeAlias" [attr-defined]
Type checks (3.9): explorerscript/ssb_converting/compiler/compile_handlers/abstract.py#L29
Use `from typing_extensions import TypeAlias` instead
Type checks (3.9): explorerscript/ssb_converting/compiler/compile_handlers/abstract.py#L29
See https://mypy.readthedocs.io/en/stable/runtime_troubles.html#using-new-additions-to-the-typing-module
Type checks (3.9): explorerscript/ssb_converting/compiler/compile_handlers/abstract.py#L117
Type variable "explorerscript.ssb_converting.compiler.compile_handlers.abstract.CTX" is unbound [valid-type]
Type checks (3.9): explorerscript/ssb_converting/compiler/compile_handlers/abstract.py#L117
(Hint: Use "Generic[CTX]" or "Protocol[CTX]" base class to bind "CTX" inside a class)
Type checks (3.9): explorerscript/ssb_converting/compiler/compile_handlers/abstract.py#L117
(Hint: Use "CTX" in function signature to bind "CTX" inside a function)
Type checks (3.9): explorerscript/ssb_converting/compiler/compile_handlers/abstract.py#L124
Type variable "explorerscript.ssb_converting.compiler.compile_handlers.abstract.CTX" is unbound [valid-type]

Artifacts

Produced during runtime
Name Size
Event File Expired
3.18 KB
MyPy Test Results (Python 3.10) Expired
599 Bytes
MyPy Test Results (Python 3.11) Expired
289 Bytes
MyPy Test Results (Python 3.12) Expired
288 Bytes
MyPy Test Results (Python 3.9) Expired
1.04 KB
Pytest Test Results (Python 3.10) Expired
692 Bytes
Pytest Test Results (Python 3.11) Expired
676 Bytes
Pytest Test Results (Python 3.12) Expired
670 Bytes
Pytest Test Results (Python 3.9) Expired
684 Bytes