chore(linter): update ruff rules
This commit is contained in:
@@ -35,11 +35,7 @@ async def process_playcount(
|
||||
).first()
|
||||
if not stats:
|
||||
return False
|
||||
if pc <= stats.play_count < next_pc:
|
||||
return True
|
||||
elif next_pc == 0 and stats.play_count >= pc:
|
||||
return True
|
||||
return False
|
||||
return bool(pc <= stats.play_count < next_pc or (next_pc == 0 and stats.play_count >= pc))
|
||||
|
||||
|
||||
MEDALS: Medals = {
|
||||
|
||||
Reference in New Issue
Block a user