Skip to content

feat: update PP calculators for standard, catch and mania #605

feat: update PP calculators for standard, catch and mania

feat: update PP calculators for standard, catch and mania #605

Triggered via pull request December 4, 2024 19:44
Status Failure
Total duration 49s
Artifacts

mypy.yml

on: pull_request
Fit to window
Zoom out
Zoom in

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]"