Skip to content

Commit

Permalink
add noqas to make linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
smacke committed May 25, 2023
1 parent 1baecc2 commit 11107c7
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions jupyter_core/utils/patched_nest_asyncio.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,16 @@ def leave_task(loop, task):

asyncio.tasks._enter_task = enter_task
asyncio.tasks._leave_task = leave_task
curr_tasks = asyncio.tasks._current_tasks
curr_tasks = asyncio.tasks._current_tasks # noqa
else:
curr_tasks = Task._current_tasks
curr_tasks = Task._current_tasks # noqa
try:
step_orig = Task._Task__step
Task._Task__step = step
step_orig = Task._Task__step # noqa
Task._Task__step = step # noqa
except AttributeError:
try:
step_orig = Task.__step
Task.__step = step
step_orig = Task.__step # noqa
Task.__step = step # noqa
except AttributeError:
step_orig = Task._step
Task._step = step
step_orig = Task._step # noqa
Task._step = step # noqa

0 comments on commit 11107c7

Please sign in to comment.