mirror of
https://github.com/283375/arcaea-offline.git
synced 2025-04-19 06:00:18 +00:00
fix: ruff PIE790
This commit is contained in:
parent
990efee900
commit
caced6eaec
@ -22,7 +22,6 @@ class RatingClassFormatter:
|
|||||||
"""
|
"""
|
||||||
Returns the capitalized rating class name, e.g. Future.
|
Returns the capitalized rating class name, e.g. Future.
|
||||||
"""
|
"""
|
||||||
...
|
|
||||||
|
|
||||||
@overload
|
@overload
|
||||||
@classmethod
|
@classmethod
|
||||||
@ -33,7 +32,6 @@ class RatingClassFormatter:
|
|||||||
The integer will be converted to `ArcaeaRatingClass` enum,
|
The integer will be converted to `ArcaeaRatingClass` enum,
|
||||||
and will return "Unknown" if the convertion fails.
|
and will return "Unknown" if the convertion fails.
|
||||||
"""
|
"""
|
||||||
...
|
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def name(cls, rating_class: Any) -> NAME_FORMAT_RESULTS:
|
def name(cls, rating_class: Any) -> NAME_FORMAT_RESULTS:
|
||||||
@ -57,7 +55,6 @@ class RatingClassFormatter:
|
|||||||
"""
|
"""
|
||||||
Returns the uppercased rating class name, e.g. FTR.
|
Returns the uppercased rating class name, e.g. FTR.
|
||||||
"""
|
"""
|
||||||
...
|
|
||||||
|
|
||||||
@overload
|
@overload
|
||||||
@classmethod
|
@classmethod
|
||||||
@ -68,7 +65,6 @@ class RatingClassFormatter:
|
|||||||
The integer will be converted to `ArcaeaRatingClass` enum,
|
The integer will be converted to `ArcaeaRatingClass` enum,
|
||||||
and will return "UNK" if the convertion fails.
|
and will return "UNK" if the convertion fails.
|
||||||
"""
|
"""
|
||||||
...
|
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def abbreviation(cls, rating_class: Any) -> ABBREVIATION_FORMAT_RESULTS:
|
def abbreviation(cls, rating_class: Any) -> ABBREVIATION_FORMAT_RESULTS:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user