osuAkatsuki / bancho.py

An osu! server for the generic public, optimized for maintainability in modern python
https://akatsuki.gg
MIT License
213 stars 129 forks source link

fix: cast `__eq__` to bool #569

Closed NiceAesth closed 8 months ago

NiceAesth commented 8 months ago

Describe your changes

This is to appease to mypy as __eq__ technically returns Any. Python casts to bool anyway so this should have 0 impact other than silencing mypy.

Related Issues / Projects

Checklist

cmyui commented 7 months ago

tysm on the quick notice & fix for the mypy failures btw! very much appreciated