File tree 1 file changed +13
-9
lines changed
1 file changed +13
-9
lines changed Original file line number Diff line number Diff line change 10
10
# All configuration values have a default; values that are commented out
11
11
# serve to show the default.
12
12
13
- import sys
14
- import os
15
- import inspect
16
13
import importlib
14
+ import inspect
17
15
import logging
16
+ import os
17
+ import sys
18
+
18
19
import jinja2
19
- from sphinx .ext .autosummary import _import_by_name
20
20
from numpydoc .docscrape import NumpyDocString
21
-
21
+ from sphinx .ext .autodoc import ( # noqa: E402 isort:skip
22
+ AttributeDocumenter ,
23
+ Documenter ,
24
+ MethodDocumenter ,
25
+ )
26
+ from sphinx .ext .autosummary import _import_by_name
22
27
23
28
logger = logging .getLogger (__name__ )
24
29
433
438
# Add custom Documenter to handle attributes/methods of an AccessorProperty
434
439
# eg pandas.Series.str and pandas.Series.dt (see GH9322)
435
440
436
- import sphinx
437
- from sphinx .util import rpartition
438
- from sphinx .ext .autodoc import Documenter , MethodDocumenter , AttributeDocumenter
439
- from sphinx .ext .autosummary import Autosummary
441
+ import sphinx # noqa: E402 isort:skip
442
+ from sphinx .util import rpartition # noqa: E402 isort:skip
443
+ from sphinx .ext .autosummary import Autosummary # noqa: E402 isort:skip
440
444
441
445
442
446
class AccessorDocumenter (MethodDocumenter ):
You can’t perform that action at this time.
0 commit comments