From 37e6f87d0b28b27011ebbcef20647b802625f400 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 8 Jul 2024 16:34:45 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/sphinx_book_theme/__init__.py | 1 + src/sphinx_book_theme/_compile_translations.py | 1 + src/sphinx_book_theme/header_buttons/__init__.py | 1 + 3 files changed, 3 insertions(+) diff --git a/src/sphinx_book_theme/__init__.py b/src/sphinx_book_theme/__init__.py index b15c1033..f38b8a80 100644 --- a/src/sphinx_book_theme/__init__.py +++ b/src/sphinx_book_theme/__init__.py @@ -1,4 +1,5 @@ """A lightweight book theme based on the pydata sphinx theme.""" + import hashlib import os from pathlib import Path diff --git a/src/sphinx_book_theme/_compile_translations.py b/src/sphinx_book_theme/_compile_translations.py index bee4422b..395556c8 100644 --- a/src/sphinx_book_theme/_compile_translations.py +++ b/src/sphinx_book_theme/_compile_translations.py @@ -1,4 +1,5 @@ """Generate compiled static translation assets for Sphinx.""" + import json import os from pathlib import Path diff --git a/src/sphinx_book_theme/header_buttons/__init__.py b/src/sphinx_book_theme/header_buttons/__init__.py index e18d51c0..6e61c8da 100644 --- a/src/sphinx_book_theme/header_buttons/__init__.py +++ b/src/sphinx_book_theme/header_buttons/__init__.py @@ -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