Skip to content

Commit 0c14e08

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 4e39f0f commit 0c14e08

File tree

71 files changed

+588
-522
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+588
-522
lines changed

docs/render/orphaned_nb.ipynb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,9 @@
3333
],
3434
"source": [
3535
"from myst_nb import glue\n",
36+
"\n",
3637
"glue(\"var_text\", \"My orphaned variable!\")\n",
37-
"glue(\"var_float\", 1.0/3.0)"
38+
"glue(\"var_float\", 1.0 / 3.0)"
3839
]
3940
}
4041
],

myst_nb/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""A docutils/sphinx parser for Jupyter Notebooks."""
2+
23
__version__ = "1.1.2"
34

45

myst_nb/cli.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""A basic CLI for quickstart of a myst_nb project."""
2+
23
from __future__ import annotations
34

45
import argparse

myst_nb/core/config.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Configuration for myst-nb."""
2+
23
import dataclasses as dc
34
from enum import Enum
45
from typing import Any, Callable, Dict, Iterable, Literal, Optional, Sequence, Tuple

myst_nb/core/execute/base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Module for executing notebooks."""
2+
23
from __future__ import annotations
34

45
from pathlib import Path

myst_nb/core/execute/cache.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Execute a notebook from the cache."""
2+
23
from __future__ import annotations
34

45
from contextlib import nullcontext, suppress

myst_nb/core/execute/direct.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Execute a notebook directly."""
2+
23
from __future__ import annotations
34

45
from contextlib import nullcontext

myst_nb/core/execute/inline.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Execute a notebook inline."""
2+
23
from __future__ import annotations
34

45
import asyncio

myst_nb/core/lexers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Pygments lexers"""
2+
23
from __future__ import annotations
34

45
import re

myst_nb/core/loggers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
``logger.warning("message", line=1, subtype="foo")``
1010
1111
"""
12+
1213
import logging
1314
from typing import Union
1415

0 commit comments

Comments
 (0)