Skip to content

Commit 3b2b1ad

Browse files
committed
Set myst-nb==0.13.0a1 for docs build
1 parent d9772e0 commit 3b2b1ad

File tree

3 files changed

+15
-5
lines changed

3 files changed

+15
-5
lines changed

.pre-commit-config.yaml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,31 +16,40 @@ exclude: >
1616
repos:
1717

1818
- repo: https://github.com/pre-commit/pre-commit-hooks
19-
rev: v3.3.0
19+
rev: v3.4.0
2020
hooks:
2121
- id: check-json
2222
- id: check-yaml
2323
- id: end-of-file-fixer
2424
- id: trailing-whitespace
2525

2626
- repo: https://github.com/mgedmin/check-manifest
27-
rev: "0.44"
27+
rev: "0.46"
2828
hooks:
2929
- id: check-manifest
30+
args: [--no-build-isolation]
31+
additional_dependencies: [setuptools>=46.4.0]
32+
33+
# this is not used for now,
34+
# since it converts markdown-it-py to markdown_it_py and removes comments
35+
# - repo: https://github.com/asottile/setup-cfg-fmt
36+
# rev: v1.17.0
37+
# hooks:
38+
# - id: setup-cfg-fmt
3039

3140
- repo: https://github.com/psf/black
3241
rev: 20.8b1
3342
hooks:
3443
- id: black
3544

3645
- repo: https://gitlab.com/pycqa/flake8
37-
rev: 3.8.4
46+
rev: 3.9.1
3847
hooks:
3948
- id: flake8
4049
additional_dependencies: [flake8-bugbear==21.3.1]
4150

4251
- repo: https://github.com/pre-commit/mirrors-mypy
43-
rev: v0.790
52+
rev: v0.812
4453
hooks:
4554
- id: mypy
4655
additional_dependencies: [attrs]

docs/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
("py:class", "markdown_it.helpers.parse_link_destination._Result"),
5252
("py:class", "markdown_it.helpers.parse_link_title._Result"),
5353
("py:class", "MarkdownIt"),
54+
("py:class", "_NodeType"),
5455
]
5556

5657

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ linkify =
5252
plugins =
5353
mdit-py-plugins
5454
rtd =
55-
myst-nb~=0.11.1
55+
myst-nb==0.13.0a1
5656
pyyaml
5757
sphinx>=2,<4
5858
sphinx-copybutton

0 commit comments

Comments
 (0)