Skip to content

Commit def5c7d

Browse files
authored
Revert "[pre-commit.ci] pre-commit autoupdate (#569)"
This reverts commit 8d6e25d.
1 parent 8d6e25d commit def5c7d

69 files changed

Lines changed: 474 additions & 538 deletions

Some content is hidden

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

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ci:
1515
repos:
1616

1717
- repo: https://github.com/pre-commit/pre-commit-hooks
18-
rev: v5.0.0
18+
rev: v4.5.0
1919
hooks:
2020
- id: check-json
2121
- id: check-yaml
@@ -28,14 +28,14 @@ repos:
2828
- id: trailing-whitespace
2929

3030
- repo: https://github.com/astral-sh/ruff-pre-commit
31-
rev: v0.6.9
31+
rev: v0.1.4
3232
hooks:
3333
- id: ruff
3434
args: ["--fix", "--show-fixes"]
3535
- id: ruff-format
3636

3737
- repo: https://github.com/pre-commit/mirrors-mypy
38-
rev: v1.11.2
38+
rev: v1.6.1
3939
hooks:
4040
- id: mypy
4141
args: [--config-file=pyproject.toml]
@@ -51,7 +51,7 @@ repos:
5151
)$
5252
5353
- repo: https://github.com/codespell-project/codespell
54-
rev: v2.3.0
54+
rev: v2.2.6
5555
hooks:
5656
- id: codespell
5757
args: ["-S", "*.ipynb"]

docs/render/orphaned_nb.ipynb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,8 @@
3333
],
3434
"source": [
3535
"from myst_nb import glue\n",
36-
"\n",
3736
"glue(\"var_text\", \"My orphaned variable!\")\n",
38-
"glue(\"var_float\", 1.0 / 3.0)"
37+
"glue(\"var_float\", 1.0/3.0)"
3938
]
4039
}
4140
],

myst_nb/__init__.py

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

54

myst_nb/cli.py

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

54
import argparse

myst_nb/core/config.py

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

myst_nb/core/execute/base.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
"""Module for executing notebooks."""
2-
32
from __future__ import annotations
43

54
from pathlib import Path

myst_nb/core/execute/cache.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
"""Execute a notebook from the cache."""
2-
32
from __future__ import annotations
43

54
from contextlib import nullcontext, suppress

myst_nb/core/execute/direct.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
"""Execute a notebook directly."""
2-
32
from __future__ import annotations
43

54
from contextlib import nullcontext

myst_nb/core/execute/inline.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
"""Execute a notebook inline."""
2-
32
from __future__ import annotations
43

54
import asyncio

myst_nb/core/lexers.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
"""Pygments lexers"""
2-
32
from __future__ import annotations
43

54
import re

0 commit comments

Comments
 (0)