Skip to content

Feature/#1032 working veto system #384

Feature/#1032 working veto system

Feature/#1032 working veto system #384

Triggered via pull request May 3, 2025 12:00
Status Failure
Total duration 1m 2s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 errors
isort
Process completed with exit code 1.
mypy: server/ladder_service/veto_system.py#L112
"MapPoolMap" has no attribute "map_pool_map_version_id" [attr-defined]
mypy: server/ladder_service/veto_system.py#L106
Argument 2 to "calculate_dynamic_tokens_per_map" of "VetoSystem" has incompatible type "dict_values[int, int]"; expected "float" [arg-type]
mypy: server/ladder_service/veto_system.py#L106
Missing positional argument "tokens_applied_to_maps" in call to "calculate_dynamic_tokens_per_map" of "VetoSystem" [call-arg]
mypy: server/ladder_service/veto_system.py#L101
"MapPoolMap" has no attribute "map_pool_map_version_id" [attr-defined]
mypy: server/ladder_service/veto_system.py#L30
Argument 4 to "get_correct_vetoes_for_bracket" of "PlayerVetoes" has incompatible type "float"; expected "int" [arg-type]
mypy: server/matchmaker/matchmaker_queue.py#L69
"int" has no attribute "id" [attr-defined]
mypy: server/matchmaker/map_pool.py#L92
Argument 1 to "get" of "dict" has incompatible type "int | None"; expected "int" [arg-type]
mypy: server/matchmaker/map_pool.py#L75
Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase
mypy: server/matchmaker/map_pool.py#L75
PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True
mypy: server/matchmaker/map_pool.py#L75
Incompatible default for argument "initial_weights" (default has type "None", argument has type "dict[int, float]") [assignment]