Skip to content

Commit 4a34f09

Browse files
authored
MAINT: Update pre-commit versions and fix minor bugs in tests (#660)
1 parent 86430b2 commit 4a34f09

File tree

4 files changed

+14
-6
lines changed

4 files changed

+14
-6
lines changed

.pre-commit-config.yaml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,16 @@ exclude: >
55
(?x)^(
66
\.vscode/settings\.json|
77
)$
8+
9+
# Fix the node version to avoid a GLIBC error
10+
# ref: https://stackoverflow.com/questions/71939099/bitbucket-pipeline-error-installing-pre-commit-ts-lint/71940852#71940852
11+
default_language_version:
12+
node: 16.14.2
13+
814
repos:
915

1016
- repo: https://github.com/pre-commit/pre-commit-hooks
11-
rev: v4.3.0
17+
rev: v4.4.0
1218
hooks:
1319
- id: check-toml
1420
- id: check-json
@@ -17,12 +23,12 @@ repos:
1723
- id: trailing-whitespace
1824

1925
- repo: https://github.com/PyCQA/flake8
20-
rev: 5.0.4
26+
rev: 6.0.0
2127
hooks:
2228
- id: flake8
2329

2430
- repo: https://github.com/psf/black
25-
rev: 22.10.0
31+
rev: 22.12.0
2632
hooks:
2733
- id: black
2834

docs/contributing/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Thank you for being interested in contributing to the `sphinx-book-theme`! You
44
are awesome ✨.
55

6-
This project follows the Executable Books Project [contribution guidelines](https://executablebooks.org/en/latest/contributing.html).
6+
This project follows the Executable Books Project [contribution guidelines](https://executablebooks.org/en/latest/contribute.html).
77
It contains information about our conventions around coding style, pull request workflow, commit messages and more.
88

99
The rest of these sections contain information about developing the `sphinx-book-theme` specifically.

docs/reference/special-theme-elements.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ This is some markdown that should be shown at full width.
6565
6666
Here's the Jupyter logo:
6767
68-
![](https://raw.githubusercontent.com/adebar/awesome-jupyter/master/logo.png)
68+
![](https://raw.githubusercontent.com/adebar/awesome-jupyter/master/assets/logo.png)
6969
7070
:::{note}
7171
Here's a full-width admonition!

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,9 @@ test = [
7575
"pytest~=7.1",
7676
"pytest-cov>=3,<5",
7777
"pytest-regressions>=2.0.1,<2.5.0",
78-
"sphinx_thebe"
78+
"sphinx_thebe",
79+
# 8.7.0 broke the `ipython3` lexer in Sphinx so we want to avoid it
80+
"ipython!=8.7.0",
7981
]
8082

8183
[project.entry-points]

0 commit comments

Comments
 (0)