feat: update PP calculators for standard, catch and mania #605
Annotations
10 errors
mypy:
aiosu/utils/performance.py#L82
Function is missing a type annotation for one or more arguments [no-untyped-def]
|
mypy:
aiosu/utils/performance.py#L110
Incompatible types in assignment (expression has type "float", variable has type "int") [assignment]
|
mypy:
aiosu/utils/performance.py#L124
Incompatible types in assignment (expression has type "Union[float, Any]", variable has type "int") [assignment]
|
mypy:
aiosu/utils/performance.py#L130
Incompatible types in assignment (expression has type "float", variable has type "int") [assignment]
|
mypy:
aiosu/utils/performance.py#L150
Incompatible types in assignment (expression has type "Union[float, int]", variable has type "int") [assignment]
|
mypy:
aiosu/utils/performance.py#L237
Incompatible types in assignment (expression has type "float", variable has type "int") [assignment]
|
mypy:
aiosu/utils/performance.py#L252
Unsupported operand types for + ("float" and "None") [operator]
|
mypy:
aiosu/utils/performance.py#L252
Both left and right operands are unions
|
mypy:
aiosu/utils/performance.py#L253
Unsupported operand types for - ("int" and "None") [operator]
|
mypy:
aiosu/utils/performance.py#L253
Right operand is of type "Optional[float]"
|