Skip to content

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

feat: update PP calculators for standard, catch and mania

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

Triggered via pull request December 5, 2024 16:40
Status Failure
Total duration 57s
Artifacts

mypy.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
mypy: aiosu/utils/performance.py#L110
Incompatible types in assignment (expression has type "float", variable has type "int") [assignment]
mypy: aiosu/utils/performance.py#L125
Incompatible types in assignment (expression has type "Union[float, Any]", variable has type "int") [assignment]
mypy: aiosu/utils/performance.py#L132
Incompatible types in assignment (expression has type "float", variable has type "int") [assignment]
mypy: aiosu/utils/performance.py#L154
Incompatible types in assignment (expression has type "Union[float, int]", variable has type "int") [assignment]
mypy: aiosu/utils/performance.py#L241
Incompatible types in assignment (expression has type "float", variable has type "int") [assignment]
mypy: aiosu/utils/performance.py#L256
Unsupported operand types for + ("float" and "None") [operator]
mypy: aiosu/utils/performance.py#L256
Both left and right operands are unions
mypy: aiosu/utils/performance.py#L257
Unsupported operand types for - ("int" and "None") [operator]
mypy: aiosu/utils/performance.py#L257
Right operand is of type "Optional[float]"
mypy
Process completed with exit code 1.