Skip to content

Commit c551791

Browse files
[pre-commit.ci] pre-commit autoupdate (#893)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/pre-commit/pre-commit-hooks: v5.0.0 → v6.0.0](pre-commit/pre-commit-hooks@v5.0.0...v6.0.0) - [github.com/astral-sh/ruff-pre-commit: v0.8.4 → v0.14.10](astral-sh/ruff-pre-commit@v0.8.4...v0.14.10) - [github.com/codespell-project/codespell: v2.3.0 → v2.4.1](codespell-project/codespell@v2.3.0...v2.4.1) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Fix pedantic codespell bug --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Chris Holdgraf <[email protected]>
1 parent f53a040 commit c551791

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.pre-commit-config.yaml

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

1717
- repo: https://github.com/pre-commit/pre-commit-hooks
18-
rev: v5.0.0
18+
rev: v6.0.0
1919
hooks:
2020
- id: check-toml
2121
- id: check-json
@@ -24,7 +24,7 @@ repos:
2424
- id: trailing-whitespace
2525

2626
- repo: https://github.com/astral-sh/ruff-pre-commit
27-
rev: v0.8.4
27+
rev: v0.14.10
2828
hooks:
2929
- id: ruff
3030
args: ["--fix", "--show-fixes"]
@@ -37,7 +37,7 @@ repos:
3737
types_or: [scss, javascript]
3838

3939
- repo: https://github.com/codespell-project/codespell
40-
rev: v2.3.0
40+
rev: v2.4.1
4141
hooks:
4242
- id: codespell
4343
exclude: >

docs/components/logo.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
You can customize the logo, title, and favicon of your site.
66

77
Refer to {external:doc}`the PyData Sphinx Theme branding documentation <user_guide/branding>` for how to customize the logo and title.
8-
This theme re-uses the same configuration.
8+
This theme reuses the same configuration.

src/sphinx_book_theme/assets/styles/abstracts/_mixins.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
/**
1717
* The PyData Sphinx Theme box shadow rule
18-
* Copied here in csae we need to re-use.
18+
* Copied here in csae we need to reuse.
1919
*/
2020
@mixin pst-box-shadow() {
2121
box-shadow:

src/sphinx_book_theme/header_buttons/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def add_header_buttons(app, pagename, templatename, context, doctree):
6767
download_buttons.append(
6868
{
6969
"type": "link",
70-
"url": f'{pathto("_sources", 1)}/{context.get("ipynb_source")}',
70+
"url": f"{pathto('_sources', 1)}/{context.get('ipynb_source')}",
7171
"text": ".ipynb",
7272
"icon": "fas fa-code",
7373
"tooltip": translation("Download notebook file"),
@@ -79,7 +79,7 @@ def add_header_buttons(app, pagename, templatename, context, doctree):
7979
download_buttons.append(
8080
{
8181
"type": "link",
82-
"url": f'{pathto("_sources", 1)}/{context["sourcename"]}',
82+
"url": f"{pathto('_sources', 1)}/{context['sourcename']}",
8383
"text": suff,
8484
"tooltip": translation("Download source file"),
8585
"icon": "fas fa-file",

0 commit comments

Comments
 (0)