Skip to content

Feature/#1032 working veto system #379

Feature/#1032 working veto system

Feature/#1032 working veto system #379

Triggered via pull request April 18, 2025 17:14
Status Failure
Total duration 1m 6s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

13 errors
flake8
Process completed with exit code 1.
flake8: server/matchmaker/map_pool.py#L30
too many blank lines (2)
flake8: server/matchmaker/map_pool.py#L9
'..types.Map' imported but unused
mypy: server/ladder_service/ladder_service.py#L860
Incompatible types in assignment (expression has type "Iterable[int]", variable has type "int") [assignment]
mypy: server/ladder_service/ladder_service.py#L858
Unsupported operand types for <= ("float" and "Iterable[int]") [operator]
mypy: server/ladder_service/ladder_service.py#L849
Unsupported operand types for < ("int" and "Iterable[int]") [operator]
mypy: server/ladder_service/ladder_service.py#L847
Incompatible types in assignment (expression has type "int", variable has type "Iterable[int]") [assignment]
mypy: server/ladder_service/ladder_service.py#L843
Argument 1 to "append" of "list" has incompatible type "float"; expected "int" [arg-type]
mypy: server/ladder_service/ladder_service.py#L585
"MapPoolMap" has no attribute "map_pool_map_version_id" [attr-defined]
mypy: server/matchmaker/matchmaker_queue.py#L69
"int" has no attribute "id" [attr-defined]
mypy: server/players.py#L126
Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase
mypy: server/players.py#L126
PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True
mypy: server/players.py#L126
Incompatible default for argument "current" (default has type "None", argument has type "dict[Any, Any]") [assignment]