diff --git a/docs/conf.py b/docs/conf.py index 1f3d28b..6aa598a 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -1,4 +1,5 @@ """Configuration file for the Sphinx documentation builder.""" + import os project = "Sphinx Design" diff --git a/sphinx_design/__init__.py b/sphinx_design/__init__.py index e7260e3..b4a2b63 100644 --- a/sphinx_design/__init__.py +++ b/sphinx_design/__init__.py @@ -1,4 +1,5 @@ """A sphinx extension for designing beautiful, view size responsive web components.""" + from typing import TYPE_CHECKING __version__ = "0.5.0" diff --git a/sphinx_design/_compat.py b/sphinx_design/_compat.py index d31e631..f1bd875 100644 --- a/sphinx_design/_compat.py +++ b/sphinx_design/_compat.py @@ -1,4 +1,5 @@ """Helpers for cross compatibility across dependency versions.""" + from importlib import resources from typing import Callable, Iterable diff --git a/sphinx_design/dropdown.py b/sphinx_design/dropdown.py index ecd5c46..3e10f55 100644 --- a/sphinx_design/dropdown.py +++ b/sphinx_design/dropdown.py @@ -1,5 +1,6 @@ """Originally Adapted from sphinxcontrib.details.directive """ + from docutils import nodes from docutils.parsers.rst import directives from sphinx.application import Sphinx diff --git a/tests/test_snippets.py b/tests/test_snippets.py index ee9e280..987b727 100644 --- a/tests/test_snippets.py +++ b/tests/test_snippets.py @@ -1,4 +1,5 @@ """Test the documented snippets run correctly, and are the same for both RST and MyST.""" + from pathlib import Path from typing import Callable