Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #808

Merged
merged 2 commits into from
Oct 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading