Skip to content

Commit c190cf6

Browse files
Carreauianthomas23
authored andcommitted
minor code reformating valid ruff 0.9.6 (#1330)
1 parent 5afd989 commit c190cf6

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

ipykernel/connect.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,8 @@ def connect_qtconsole(
133133

134134

135135
__all__ = [
136-
"write_connection_file",
136+
"connect_qtconsole",
137137
"get_connection_file",
138138
"get_connection_info",
139-
"connect_qtconsole",
139+
"write_connection_file",
140140
]

ipykernel/iostream.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -466,11 +466,13 @@ def __init__(
466466
self._local = local()
467467

468468
if (
469-
watchfd
470-
and (
471-
(sys.platform.startswith("linux") or sys.platform.startswith("darwin"))
472-
# Pytest set its own capture. Don't redirect from within pytest.
473-
and ("PYTEST_CURRENT_TEST" not in os.environ)
469+
(
470+
watchfd
471+
and (
472+
(sys.platform.startswith("linux") or sys.platform.startswith("darwin"))
473+
# Pytest set its own capture. Don't redirect from within pytest.
474+
and ("PYTEST_CURRENT_TEST" not in os.environ)
475+
)
474476
)
475477
# allow forcing watchfd (mainly for tests)
476478
or watchfd == "force"

tests/test_message_spec.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ def _setup_env():
3333

3434

3535
class Reference(HasTraits):
36-
3736
"""
3837
Base class for message spec specification testing.
3938

0 commit comments

Comments
 (0)