diff --git a/src/sphinx_book_theme/__init__.py b/src/sphinx_book_theme/__init__.py index b15c1033a..f38b8a80e 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 bee4422ba..395556c83 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 e18d51c03..6e61c8daf 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 diff --git a/tests/sites/base/section1/ntbk.ipynb b/tests/sites/base/section1/ntbk.ipynb index cebfdbb6f..39cad918e 100644 --- a/tests/sites/base/section1/ntbk.ipynb +++ b/tests/sites/base/section1/ntbk.ipynb @@ -21,7 +21,7 @@ } ], "source": [ - "print('hi')" + "print(\"hi\")" ] } ],