Skip to content

[pre-commit.ci] pre-commit autoupdate (#120) #82

[pre-commit.ci] pre-commit autoupdate (#120)

[pre-commit.ci] pre-commit autoupdate (#120) #82

Triggered via push July 9, 2025 02:52
Status Failure
Total duration 2m 8s
Artifacts

ci.yml

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

Annotations

4 errors and 3 notices
Ubuntu (3.12, check formatting)
Process completed with exit code 1.
Ubuntu (3.12, check formatting)
Mypy found type errors.
Mypy-Linux+Mac+Windows: src/sanescansrv/server.py#L686
src/sanescansrv/server.py:(686:9 - 686:33): Returning Any from function declared to return "str" [no-any-return]
Mypy-Linux+Mac+Windows: src/sanescansrv/server.py#L381
src/sanescansrv/server.py:(381:6 - 385:52): Incompatible override of a setter type [override]
Mypy-Linux+Mac+Windows: src/sanescansrv/server.py#L381
src/sanescansrv/server.py:(381:6 - 385:52): Setter types should behave contravariantly
Mypy-Linux+Mac+Windows: src/sanescansrv/server.py#L381
src/sanescansrv/server.py:(381:6 - 385:52): override has type "str | int | float")
Mypy-Linux+Mac+Windows: src/sanescansrv/server.py#L381
src/sanescansrv/server.py:(381:6 - 385:52): (base class "DeviceOptionDataClass" defined the type as "str | int | float | None",