Feature/#1032 working veto system #391
Annotations
13 errors
|
isort
Process completed with exit code 1.
|
|
flake8
Process completed with exit code 1.
|
|
flake8:
tests/unit_tests/test_map_pool.py#L4
'logging' imported but unused
|
|
mypy
Process completed with exit code 1.
|
|
mypy:
server/ladder_service/ladder_service.py#L566
Consider using "Mapping" instead, which is covariant in the value type
|
|
mypy:
server/ladder_service/ladder_service.py#L566
"Dict" is invariant -- see https://mypy.readthedocs.io/en/stable/common_issues.html#variance
|
|
mypy:
server/ladder_service/ladder_service.py#L566
Argument 2 to "choose_map" of "MapPool" has incompatible type "dict[int, int]"; expected "dict[int, float] | None" [arg-type]
|
|
mypy:
server/ladder_service/ladder_service.py#L141
Are you missing an await?
|
|
mypy:
server/ladder_service/ladder_service.py#L141
Value of type "Coroutine[Any, Any, None]" must be used [unused-coroutine]
|
|
mypy:
server/ladder_service/ladder_service.py#L126
Argument 3 to "MapPool" has incompatible type "list[Map]"; expected "Iterable[MapPoolMap]" [arg-type]
|
|
mypy:
server/ladder_service/veto_system.py#L182
Value expression in dictionary comprehension has incompatible type "float"; expected type "int" [misc]
|
|
mypy:
server/ladder_service/veto_system.py#L38
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]
|