[ci] auto-format

This commit is contained in:
CrossJoy 2022-12-14 13:13:28 +00:00 committed by github-actions[bot]
parent 507667443c
commit 800125c17f
2 changed files with 78 additions and 79 deletions

View file

@ -43,6 +43,8 @@ if TYPE_CHECKING:
from typing import Sequence, Union
# Check game ver.
def is_game_version_lower_than(version):
"""
Returns a boolean value indicating whether the current game

View file

@ -45,7 +45,8 @@ import random
import weakref
from enum import Enum
from typing import TYPE_CHECKING
import ba, _ba
import ba
import _ba
import ba.internal
import bastd
from bastd.actor.powerupbox import PowerupBox
@ -423,7 +424,6 @@ Spaz.super_handlemessage = Spaz.handlemessage
def bot_handlemessage(self, msg: Any):
if isinstance(msg, ba.PowerupMessage):
if msg.poweruptype == 'health':
if ba.app.config.get("bombRadiusVisual"):
@ -498,7 +498,6 @@ def bot_handlemessage(self, msg: Any):
})
Spaz.handlemessage = bot_handlemessage
@ -650,7 +649,6 @@ class DummyBotSet(NewBotSet):
self._bot_update_list = (self._bot_update_list +
1) % self._bot_list_count
except:
pass
@ -1296,8 +1294,7 @@ class PowerUpPracticeTab(PracticeTab):
i.node.position[1],
i.node.position[2] + z)
PowerupBox(position=pos,
poweruptype=
self.power_list_type
poweruptype=self.power_list_type
[self._icon_index]).autoretain()
def _power_window(self) -> None: