lint fixes

This commit is contained in:
Roman Trapeznikov 2021-10-08 19:44:24 +03:00
parent fed8ca9400
commit 4db6ec8d45
2 changed files with 2 additions and 2 deletions

View File

@ -90,7 +90,7 @@ class CoopSession(Session):
"""Get the game instance currently being played.""" """Get the game instance currently being played."""
return self._current_game_instance return self._current_game_instance
def should_allow_mid_activity_joins(self, activity: Activity) -> bool: def should_allow_mid_activity_joins(self, activity: ba.Activity) -> bool:
# pylint: disable=cyclic-import # pylint: disable=cyclic-import
from ba._gameactivity import GameActivity from ba._gameactivity import GameActivity

View File

@ -205,7 +205,7 @@ class Session:
raise NodeNotFoundError() raise NodeNotFoundError()
return node return node
def should_allow_mid_activity_joins(self, activity: Activity) -> bool: def should_allow_mid_activity_joins(self, activity: ba.Activity) -> bool:
"""Returned value is used by the Session to determine """Returned value is used by the Session to determine
whether to allow players to join in the middle of activity. whether to allow players to join in the middle of activity.