File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 9696
9797import typing as t # noqa: E402
9898
99- from autodoc2 .config import CONFIG_PREFIX , Config , PackageConfig # noqa: E402
10099from docutils import nodes # noqa: E402
101100from sphinx .application import Sphinx # noqa: E402
102101from sphinx .util .docutils import SphinxDirective # noqa: E402
103102
103+ from autodoc2 .config import CONFIG_PREFIX , Config , PackageConfig # noqa: E402
104+
104105
105106def setup (app : Sphinx ) -> None :
106107 app .add_object_type (
Original file line number Diff line number Diff line change 44
55import typing as t
66
7- from autodoc2 .analysis import analyse_module
87import pytest
98
9+ from autodoc2 .analysis import analyse_module
10+
1011
1112def clean_item (item : dict [str , t .Any ]) -> dict [str , t .Any ]:
1213 """Remove non-deterministic data."""
Original file line number Diff line number Diff line change 44from pathlib import Path
55from textwrap import dedent
66
7+ import pytest
8+ from sphinx .testing .util import SphinxTestApp
9+ from sphinx .testing .util import path as sphinx_path
10+
711from autodoc2 .analysis import analyse_module
812from autodoc2 .config import Config
913from autodoc2 .db import InMemoryDb
1014from autodoc2 .render .base import RendererBase
1115from autodoc2 .render .myst_ import MystRenderer
1216from autodoc2 .render .rst_ import RstRenderer
1317from autodoc2 .utils import yield_modules
14- import pytest
15- from sphinx .testing .util import SphinxTestApp
16- from sphinx .testing .util import path as sphinx_path
1718
1819
1920@pytest .mark .parametrize (
You can’t perform that action at this time.
0 commit comments