@@ -41,7 +41,9 @@ def test_status_iterator_length_0(app: SphinxTestApp) -> None:
41
41
42
42
43
43
@pytest .mark .sphinx ('dummy' , testroot = 'root' )
44
- def test_status_iterator_verbosity_0 (app , monkeypatch ):
44
+ def test_status_iterator_verbosity_0 (
45
+ app : SphinxTestApp , monkeypatch : pytest .MonkeyPatch
46
+ ) -> None :
45
47
monkeypatch .setenv ('FORCE_COLOR' , '1' )
46
48
logging .setup (app , app .status , app .warning )
47
49
@@ -59,7 +61,9 @@ def test_status_iterator_verbosity_0(app, monkeypatch):
59
61
60
62
61
63
@pytest .mark .sphinx ('dummy' , testroot = 'root' )
62
- def test_status_iterator_verbosity_1 (app , monkeypatch ):
64
+ def test_status_iterator_verbosity_1 (
65
+ app : SphinxTestApp , monkeypatch : pytest .MonkeyPatch
66
+ ) -> None :
63
67
monkeypatch .setenv ('FORCE_COLOR' , '1' )
64
68
logging .setup (app , app .status , app .warning )
65
69
@@ -107,7 +111,7 @@ def test_progress_message(app: SphinxTestApp) -> None:
107
111
108
112
# decorator
109
113
@progress_message ('testing' )
110
- def func ():
114
+ def func () -> None :
111
115
logger .info ('in func ' , nonl = True )
112
116
113
117
func ()
0 commit comments