Skip to content

Commit

Permalink
fix style violation
Browse files Browse the repository at this point in the history
  • Loading branch information
gottadiveintopython committed Dec 23, 2023
1 parent 88a0fad commit 0898892
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/asyncpygame/_api_impl/_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
from .timer import Timer, sleep, repeat_sleeping, move_on_after, TimeUnit
from .priority_dispatcher import PriorityDispatcher
from .priority_drawing import Drawer, DrawingRequest
from .animation import anim_with_dt, anim_with_dt_et, anim_with_et, anim_with_ratio, anim_with_dt_et_ratio, fade_transition
from .animation import (
anim_with_dt, anim_with_dt_et, anim_with_et, anim_with_ratio, anim_with_dt_et_ratio,
fade_transition,
)
from .sdl_event import sdl_event, sdl_frequent_event
from .threads import run_in_thread, run_in_executor
3 changes: 2 additions & 1 deletion tests/_api_impl/test_sdl_event.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ def test_sdl_frequent_event_with_filter():
from asyncpygame._api_impl.sdl_event import sdl_frequent_event

async def async_fn(d):
async with sdl_frequent_event(d.add_subscriber, filter=lambda e: e.type in (FINGERDOWN, FINGERUP)) as finger_event:
async with sdl_frequent_event(d.add_subscriber, filter=lambda e: e.type in (FINGERDOWN, FINGERUP)) \
as finger_event:
while True:
e = await finger_event()
if e.type in (QUIT, FINGERUP):
Expand Down

0 comments on commit 0898892

Please sign in to comment.