Fixing Pylint (I hate you Pylint)

This commit is contained in:
Vishal 2024-09-25 02:18:43 +05:30 committed by GitHub
parent 6f26ff0cf1
commit 2250004d7b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -378,11 +378,15 @@ class BenchmarksAndStressTestsWindow(bui.MainWindow):
bui.app.classic.run_stress_test( bui.app.classic.run_stress_test(
playlist_type=self._stress_test_game_type, playlist_type=self._stress_test_game_type,
playlist_name=cast( playlist_name=cast(
str, bui.textwidget(query=self._stress_test_playlist_name_field) str, bui.textwidget(
query=self._stress_test_playlist_name_field
)
), ),
player_count=self._stress_test_player_count, player_count=self._stress_test_player_count,
round_duration=self._stress_test_round_duration, round_duration=self._stress_test_round_duration,
) )
bui.containerwidget(edit=self._root_widget, transition='out_right') bui.containerwidget(edit=self._root_widget, transition='out_right')
else: else:
bui.screenmessage(bui.Lstr(value='Already present in another activity.')) bui.screenmessage(
bui.Lstr(value='Already present in another activity.')
)