File tree 3 files changed +8
-5
lines changed 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 96
96
97
97
import typing as t # noqa: E402
98
98
99
- from autodoc2 .config import CONFIG_PREFIX , Config , PackageConfig # noqa: E402
100
99
from docutils import nodes # noqa: E402
101
100
from sphinx .application import Sphinx # noqa: E402
102
101
from sphinx .util .docutils import SphinxDirective # noqa: E402
103
102
103
+ from autodoc2 .config import CONFIG_PREFIX , Config , PackageConfig # noqa: E402
104
+
104
105
105
106
def setup (app : Sphinx ) -> None :
106
107
app .add_object_type (
Original file line number Diff line number Diff line change 4
4
5
5
import typing as t
6
6
7
- from autodoc2 .analysis import analyse_module
8
7
import pytest
9
8
9
+ from autodoc2 .analysis import analyse_module
10
+
10
11
11
12
def clean_item (item : dict [str , t .Any ]) -> dict [str , t .Any ]:
12
13
"""Remove non-deterministic data."""
Original file line number Diff line number Diff line change 4
4
from pathlib import Path
5
5
from textwrap import dedent
6
6
7
+ import pytest
8
+ from sphinx .testing .util import SphinxTestApp
9
+ from sphinx .testing .util import path as sphinx_path
10
+
7
11
from autodoc2 .analysis import analyse_module
8
12
from autodoc2 .config import Config
9
13
from autodoc2 .db import InMemoryDb
10
14
from autodoc2 .render .base import RendererBase
11
15
from autodoc2 .render .myst_ import MystRenderer
12
16
from autodoc2 .render .rst_ import RstRenderer
13
17
from 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
17
18
18
19
19
20
@pytest .mark .parametrize (
You can’t perform that action at this time.
0 commit comments