Skip to content

Commit

Permalink
Merge pull request #808 from executablebooks/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
agoose77 authored Oct 7, 2024
2 parents b0f7a35 + 91a8ee0 commit ef7e621
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ default_language_version:
repos:

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v5.0.0
hooks:
- id: check-toml
- id: check-json
Expand All @@ -24,7 +24,7 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.9
rev: v0.6.9
hooks:
- id: ruff
args: ["--fix", "--show-fixes"]
Expand All @@ -37,7 +37,7 @@ repos:
types_or: [scss, javascript]

- repo: https://github.com/codespell-project/codespell
rev: v2.2.6
rev: v2.3.0
hooks:
- id: codespell
exclude: >
Expand Down
1 change: 1 addition & 0 deletions src/sphinx_book_theme/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""A lightweight book theme based on the pydata sphinx theme."""

import hashlib
import os
from pathlib import Path
Expand Down
1 change: 1 addition & 0 deletions src/sphinx_book_theme/_compile_translations.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Generate compiled static translation assets for Sphinx."""

import json
import os
from pathlib import Path
Expand Down
1 change: 1 addition & 0 deletions src/sphinx_book_theme/header_buttons/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Generate metadata for header buttons."""

from sphinx.errors import SphinxError
from sphinx.locale import get_translation
from pydata_sphinx_theme.utils import config_provided_by_user, get_theme_options_dict
Expand Down
2 changes: 1 addition & 1 deletion tests/sites/base/section1/ntbk.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
}
],
"source": [
"print('hi')"
"print(\"hi\")"
]
}
],
Expand Down

0 comments on commit ef7e621

Please sign in to comment.