Skip to content

Commit

Permalink
move type ignore comment to the line that needs it
Browse files Browse the repository at this point in the history
  • Loading branch information
ThrawnCA committed Aug 8, 2024
1 parent 8cd6b36 commit 624fb51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ckan/cli/shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ def ipython(namespace: Mapping[str, Any], banner: str) -> None:
from traitlets.config.loader import Config

c = Config()
c.TerminalInteractiveShell.banner2 = banner # type: ignore
c.TerminalInteractiveShell.banner2 = banner

IPython.start_ipython([], user_ns=namespace, config=c)
IPython.start_ipython([], user_ns=namespace, config=c) # type: ignore


def python(namespace: Mapping[str, Any], banner: str) -> None:
Expand Down

0 comments on commit 624fb51

Please sign in to comment.