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 2727 - id : requirements-txt-sorter
2828 args : [--allow-git]
2929 - id : check-docstring-first
30+ exclude : ^(doc-source/conf|__pkginfo__|make_conda_recipe|setup|tests/.*)\.py$
3031 - id : bind-requirements
3132
3233 - repo : https://github.com/domdfcoding/flake8-dunder-all
@@ -46,21 +47,16 @@ repos:
4647 - id : pyupgrade
4748 args : [--py36-plus]
4849
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-
6250 - repo : https://github.com/Lucas-C/pre-commit-hooks
6351 rev : v1.1.7
6452 hooks :
6553 - id : forbid-crlf
6654 - 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 3535
3636extensions = [
3737 'sphinx_toolbox' ,
38- 'sphinx_toolbox.autodoc_augment_defaults ' ,
39- 'sphinx_toolbox.autodoc_typehints ' ,
38+ 'sphinx_toolbox.more_autodoc ' ,
39+ 'sphinx_toolbox.more_autosummary ' ,
4040 'sphinx.ext.intersphinx' ,
41- 'sphinx.ext.autodoc' ,
4241 'sphinx.ext.mathjax' ,
43- 'sphinx.ext.viewcode' ,
4442 'sphinxcontrib.httpdomain' ,
4543 'sphinxcontrib.extras_require' ,
4644 'sphinx.ext.todo' ,
4745 'sphinxemoji.sphinxemoji' ,
4846 'notfound.extension' ,
49- 'sphinx_tabs.tabs' ,
50- 'sphinx-prompt' ,
51- 'sphinx.ext.autosummary' ,
52- 'autodocsumm' ,
5347 'sphinx_copybutton' ,
5448 'sphinxcontrib.default_values' ,
5549 'sphinxcontrib.toctree_plus' ,
120114 'members' : None , # Include all members (methods).
121115 'special-members' : None ,
122116 "autosummary" : None ,
117+ "show-inheritance" : None ,
123118 'exclude-members' : ',' .join ([ # Exclude "standard" methods.
124119 "__dict__" ,
125120 "__class__" ,
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ sphinx-copybutton>=0.2.12
88sphinx-notfound-page >= 0.5
99sphinx-prompt >= 1.1.0
1010sphinx-tabs >= 1.1.13
11- sphinx-toolbox >= 0.5.1
11+ sphinx-toolbox >= 0.7.0
1212sphinxcontrib-httpdomain >= 1.7.0
1313sphinxemoji >= 0.1.6
1414toctree_plus >= 0.0.4
Original file line number Diff line number Diff line change @@ -172,6 +172,8 @@ rst-roles =
172172 rst:dir
173173 pull
174174 issue
175+ asset
176+ confval
175177rst-directives =
176178 envvar
177179 exception
@@ -183,6 +185,11 @@ rst-directives =
183185 extras-require
184186 literalinclude
185187 autoclass
188+ extensions
189+ deprecated
190+ versionremoved
191+ autofunction
192+ confval
186193per-file-ignores =
187194 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
188195pytest-parametrize-names-type = csv
You can’t perform that action at this time.
0 commit comments