Feature/#1032 working veto system #358
Annotations
17 errors and 8 warnings
|
isort
Process completed with exit code 1.
|
|
flake8
Process completed with exit code 1.
|
|
flake8:
server/players.py#L118
closing bracket does not match indentation of opening bracket's line
|
|
flake8:
server/players.py#L118
continuation line with same indent as next logical line
|
|
flake8:
server/players.py#L37
expected 2 blank lines, found 1
|
|
flake8:
server/players.py#L27
expected 2 blank lines, found 1
|
|
flake8:
server/matchmaker/map_pool.py#L9
expected 2 blank lines, found 1
|
|
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#L122
Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase
|
|
mypy:
server/players.py#L122
PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True
|
|
mypy:
server/players.py#L122
Incompatible default for argument "current" (default has type "None", argument has type "dict[Any, Any]") [assignment]
|
|
mypy:
server/players.py#L63
Need type annotation for "_vetoes" (hint: "_vetoes: dict[<type>, <type>] = ...") [var-annotated]
|
|
mypy:
server/matchmaker/map_pool.py#L71
Incompatible return value type (got "MapPoolMap", expected "Map") [return-value]
|
|
mypy:
server/matchmaker/map_pool.py#L55
Invalid index type "int | None" for "Counter[int]"; expected type "int" [index]
|
|
flake8:
server/players.py#L115
trailing whitespace
|
|
flake8:
server/players.py#L114
trailing whitespace
|
|
flake8:
server/players.py#L113
trailing whitespace
|
|
flake8:
server/matchmaker/map_pool.py#L57
trailing whitespace
|
|
flake8:
server/matchmaker/map_pool.py#L56
trailing whitespace
|
|
flake8:
server/matchmaker/map_pool.py#L54
trailing whitespace
|
|
flake8:
server/lobbyconnection.py#L1389
blank line contains whitespace
|
|
flake8:
server/lobbyconnection.py#L1381
trailing whitespace
|