Feature/#1032 working veto system #361
Annotations
13 errors and 1 warning
|
isort
Process completed with exit code 1.
|
|
flake8
Process completed with exit code 1.
|
|
flake8:
server/players.py#L124
closing bracket does not match indentation of opening bracket's line
|
|
mypy:
server/ladder_service/ladder_service.py#L830
Argument 1 to "append" of "list" has incompatible type "float"; expected "int" [arg-type]
|
|
mypy:
server/ladder_service/ladder_service.py#L579
Incompatible types in assignment (expression has type "dict[Never, Never]", variable has type "defaultdict[Any, Any]") [assignment]
|
|
mypy:
server/ladder_service/ladder_service.py#L575
Incompatible types in assignment (expression has type "float", variable has type "int") [assignment]
|
|
mypy:
server/ladder_service/ladder_service.py#L572
"MapPoolMap" has no attribute "map_pool_map_version_id" [attr-defined]
|
|
mypy:
server/ladder_service/ladder_service.py#L568
Need type annotation for "vetoes_map" [var-annotated]
|
|
mypy:
server/matchmaker/matchmaker_queue.py#L69
"int" has no attribute "id" [attr-defined]
|
|
mypy:
server/players.py#L128
Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase
|
|
mypy:
server/players.py#L128
PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True
|
|
mypy:
server/players.py#L128
Incompatible default for argument "current" (default has type "None", argument has type "dict[Any, Any]") [assignment]
|
|
mypy:
server/matchmaker/map_pool.py#L54
Invalid index type "int | None" for "Counter[int]"; expected type "int" [index]
|
|
flake8:
server/matchmaker/map_pool.py#L42
blank line contains whitespace
|