Skip to content

Commit 148afd6

Browse files
Carreauianthomas23
authored andcommitted
Some formatting changes to prepare bumping ruff pre-commit. (ipython#1329)
1 parent 665dd2c commit 148afd6

19 files changed

+21
-17
lines changed

examples/embedding/inprocess_qtconsole.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""An in-process qt console app."""
2+
23
import os
34

45
import tornado

examples/embedding/inprocess_terminal.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""An in-process terminal example."""
2+
23
import os
34
import sys
45

examples/embedding/ipkernel_wxapp.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
1717
Ref: Modified from wxPython source code wxPython/samples/simple/simple.py
1818
"""
19+
1920
# -----------------------------------------------------------------------------
2021
# Imports
2122
# -----------------------------------------------------------------------------

hatch_build.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""A custom hatch build hook for ipykernel."""
2+
23
import shutil
34
import sys
45
from pathlib import Path

ipykernel/__main__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""The cli entry point for ipykernel."""
2+
23
if __name__ == "__main__":
34
from ipykernel import kernelapp as app
45

ipykernel/compiler.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Compiler helpers for the debugger."""
2+
23
import os
34
import sys
45
import tempfile

ipykernel/connect.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
"""Connection file-related utilities for the kernel
2-
"""
1+
"""Connection file-related utilities for the kernel"""
2+
33
# Copyright (c) IPython Development Team.
44
# Distributed under the terms of the Modified BSD License.
55
from __future__ import annotations

ipykernel/datapub.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
# Copyright (c) IPython Development Team.
22
# Distributed under the terms of the Modified BSD License.
33

4-
"""Publishing native (typically pickled) objects.
5-
"""
4+
"""Publishing native (typically pickled) objects."""
65

76
import warnings
87

ipykernel/debugger.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Debugger implementation for the IPython kernel."""
2+
23
import os
34
import re
45
import sys

ipykernel/embed.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
"""Simple function for embedding an IPython kernel
2-
"""
1+
"""Simple function for embedding an IPython kernel"""
32
# -----------------------------------------------------------------------------
43
# Imports
54
# -----------------------------------------------------------------------------

0 commit comments

Comments
 (0)