Feature/#1032 working veto system #380
Annotations
12 errors
|
flake8
Process completed with exit code 1.
|
|
flake8:
server/matchmaker/map_pool.py#L30
too many blank lines (2)
|
|
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]
|
|
mypy:
server/matchmaker/map_pool.py#L71
Invalid index type "int | None" for "dict[int, float]"; expected type "int" [index]
|
|
mypy:
server/matchmaker/map_pool.py#L67
"ConfigurationStore" has no attribute "LADDER_ANTI_REPETITION_WEIGHT_THRESHOLDS"; maybe "LADDER_ANTI_REPETITION_PRIMARY_WEIGHT_THRESHOLD" or "LADDER_ANTI_REPETITION_SECONDARY_WEIGHT_THRESHOLD"? [attr-defined]
|
|
mypy:
server/matchmaker/map_pool.py#L67
Argument 1 to "apply_antirepetition_adjustment" of "MapPool" has incompatible type "dict[int | None, Any]"; expected "dict[int, float]" [arg-type]
|