File tree 2 files changed +6
-2
lines changed
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 1
1
"""Sphinx extension for making the spelling directive noop."""
2
2
3
- from typing import List
3
+ from typing import List , Dict , Any
4
4
5
5
from sphinx .util .nodes import nodes
6
6
from sphinx .application import Sphinx
@@ -17,7 +17,7 @@ def run(self) -> List[nodes.Node]:
17
17
return []
18
18
19
19
20
- def setup (app : Sphinx ) -> None :
20
+ def setup (app : Sphinx ) -> Dict [ str , Any ] :
21
21
"""Initialize the extension."""
22
22
app .add_directive ('spelling' , SpellingNoOpDirective )
23
23
Original file line number Diff line number Diff line change @@ -6,3 +6,7 @@ sphinxcontrib-apidoc >= 0.3.0
6
6
sphinxcontrib-towncrier >= 0.2.0a0
7
7
# See https://github.com/yaml/pyyaml/issues/724#issuecomment-1638587228
8
8
pyyaml==5.3.1
9
+ # PIN to fix:
10
+ # The sphinxcontrib.applehelp extension used by this project needs at least Sphinx v5.0;
11
+ # it therefore cannot be built with this version.
12
+ sphinxcontrib-applehelp==1.0.2
You can’t perform that action at this time.
0 commit comments