File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 22
22
sys .path .insert (0 , str (cwd / "_ext" ))
23
23
24
24
# package data
25
- about : t . Dict [str , str ] = {}
25
+ about : dict [str , str ] = {}
26
26
with (src_root / "g" / "__about__.py" ).open () as fp :
27
27
exec (fp .read (), about )
28
28
70
70
html_css_files = ["css/custom.css" ]
71
71
html_extra_path = ["manifest.json" ]
72
72
html_theme = "furo"
73
- html_theme_path : t . List [str ] = []
74
- html_theme_options : t . Dict [str , t .Union [str , t . List [ t . Dict [str , str ]]]] = {
73
+ html_theme_path : list [str ] = []
74
+ html_theme_options : dict [str , t .Union [str , list [ dict [str , str ]]]] = {
75
75
"light_logo" : "img/g.svg" ,
76
76
"dark_logo" : "img/g-dark.svg" ,
77
77
"footer_icons" : [
129
129
}
130
130
131
131
132
- def linkcode_resolve (domain : str , info : t . Dict [str , str ]) -> t .Union [None , str ]:
132
+ def linkcode_resolve (domain : str , info : dict [str , str ]) -> t .Union [None , str ]:
133
133
"""
134
134
Determine the URL corresponding to Python object.
135
135
Original file line number Diff line number Diff line change @@ -46,13 +46,13 @@ class CommandLineTestFixture(t.NamedTuple):
46
46
env : EnvFlag
47
47
48
48
# test data
49
- argv_args : t . List [str ]
49
+ argv_args : list [str ]
50
50
51
51
# results
52
52
expect_cmd : t .Optional [str ]
53
53
54
54
55
- TEST_FIXTURES : t . List [CommandLineTestFixture ] = [
55
+ TEST_FIXTURES : list [CommandLineTestFixture ] = [
56
56
CommandLineTestFixture (
57
57
test_id = "g-cmd-inside-git-dir" ,
58
58
env = EnvFlag .Git ,
@@ -89,7 +89,7 @@ def test_command_line(
89
89
# capsys: pytest.CaptureFixture[str],
90
90
test_id : str ,
91
91
env : EnvFlag ,
92
- argv_args : t . List [str ],
92
+ argv_args : list [str ],
93
93
expect_cmd : t .Optional [str ],
94
94
monkeypatch : pytest .MonkeyPatch ,
95
95
tmp_path : pathlib .Path ,
You can’t perform that action at this time.
0 commit comments