File tree Expand file tree Collapse file tree 4 files changed +20
-22
lines changed Expand file tree Collapse file tree 4 files changed +20
-22
lines changed Original file line number Diff line number Diff line change 27
27
- id : requirements-txt-sorter
28
28
args : [--allow-git]
29
29
- id : check-docstring-first
30
+ exclude : ^(doc-source/conf|__pkginfo__|make_conda_recipe|setup|tests/.*)\.py$
30
31
- id : bind-requirements
31
32
32
33
- repo : https://github.com/domdfcoding/flake8-dunder-all
@@ -46,21 +47,16 @@ repos:
46
47
- id : pyupgrade
47
48
args : [--py36-plus]
48
49
49
- - repo : https://github.com/timothycrosley/isort
50
- rev : 5.1.4
51
- hooks :
52
- - id : isort
53
- exclude : ^(doc-source/conf|__pkginfo__|make_conda_recipe|setup)\.py$
54
-
55
- - repo : https://github.com/pre-commit/mirrors-yapf
56
- rev : v0.30.0
57
- hooks :
58
- - id : yapf
59
- exclude : ^(doc-source/conf|__pkginfo__|make_conda_recipe|setup)\.py$
60
- args : ["--in-place", "--exclude *.pyi"]
61
-
62
50
- repo : https://github.com/Lucas-C/pre-commit-hooks
63
51
rev : v1.1.7
64
52
hooks :
65
53
- id : forbid-crlf
66
54
- id : remove-crlf
55
+
56
+
57
+ - repo : https://github.com/domdfcoding/yapf-isort
58
+ rev : v0.3.0
59
+ hooks :
60
+ - id : yapf-isort
61
+ exclude : ^(doc-source/conf|__pkginfo__|make_conda_recipe|setup)\.py$
62
+ args : [--exclude, "*.pyi", ]
Original file line number Diff line number Diff line change 35
35
36
36
extensions = [
37
37
'sphinx_toolbox' ,
38
- 'sphinx_toolbox.autodoc_augment_defaults ' ,
39
- 'sphinx_toolbox.autodoc_typehints ' ,
38
+ 'sphinx_toolbox.more_autodoc ' ,
39
+ 'sphinx_toolbox.more_autosummary ' ,
40
40
'sphinx.ext.intersphinx' ,
41
- 'sphinx.ext.autodoc' ,
42
41
'sphinx.ext.mathjax' ,
43
- 'sphinx.ext.viewcode' ,
44
42
'sphinxcontrib.httpdomain' ,
45
43
'sphinxcontrib.extras_require' ,
46
44
'sphinx.ext.todo' ,
47
45
'sphinxemoji.sphinxemoji' ,
48
46
'notfound.extension' ,
49
- 'sphinx_tabs.tabs' ,
50
- 'sphinx-prompt' ,
51
- 'sphinx.ext.autosummary' ,
52
- 'autodocsumm' ,
53
47
'sphinx_copybutton' ,
54
48
'sphinxcontrib.default_values' ,
55
49
'sphinxcontrib.toctree_plus' ,
120
114
'members' : None , # Include all members (methods).
121
115
'special-members' : None ,
122
116
"autosummary" : None ,
117
+ "show-inheritance" : None ,
123
118
'exclude-members' : ',' .join ([ # Exclude "standard" methods.
124
119
"__dict__" ,
125
120
"__class__" ,
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ sphinx-copybutton>=0.2.12
8
8
sphinx-notfound-page >= 0.5
9
9
sphinx-prompt >= 1.1.0
10
10
sphinx-tabs >= 1.1.13
11
- sphinx-toolbox >= 0.5.1
11
+ sphinx-toolbox >= 0.7.0
12
12
sphinxcontrib-httpdomain >= 1.7.0
13
13
sphinxemoji >= 0.1.6
14
14
toctree_plus >= 0.0.4
Original file line number Diff line number Diff line change @@ -172,6 +172,8 @@ rst-roles =
172
172
rst:dir
173
173
pull
174
174
issue
175
+ asset
176
+ confval
175
177
rst-directives =
176
178
envvar
177
179
exception
@@ -183,6 +185,11 @@ rst-directives =
183
185
extras-require
184
186
literalinclude
185
187
autoclass
188
+ extensions
189
+ deprecated
190
+ versionremoved
191
+ autofunction
192
+ confval
186
193
per-file-ignores =
187
194
tests/*: D100 D101 D102 D103 D104 D106 D201 D204 D207 D208 D209 D210 D211 D212 D213 D214 D215 D300 D301 D400 D402 D403 D404 D415 D417 DALL000
188
195
pytest-parametrize-names-type = csv
You can’t perform that action at this time.
0 commit comments