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 2222sys .path .insert (0 , str (cwd / "_ext" ))
2323
2424# package data
25- about : t . Dict [str , str ] = {}
25+ about : dict [str , str ] = {}
2626with (src_root / "g" / "__about__.py" ).open () as fp :
2727 exec (fp .read (), about )
2828
7070html_css_files = ["css/custom.css" ]
7171html_extra_path = ["manifest.json" ]
7272html_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 ]]]] = {
7575 "light_logo" : "img/g.svg" ,
7676 "dark_logo" : "img/g-dark.svg" ,
7777 "footer_icons" : [
129129}
130130
131131
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 ]:
133133 """
134134 Determine the URL corresponding to Python object.
135135
Original file line number Diff line number Diff line change @@ -46,13 +46,13 @@ class CommandLineTestFixture(t.NamedTuple):
4646 env : EnvFlag
4747
4848 # test data
49- argv_args : t . List [str ]
49+ argv_args : list [str ]
5050
5151 # results
5252 expect_cmd : t .Optional [str ]
5353
5454
55- TEST_FIXTURES : t . List [CommandLineTestFixture ] = [
55+ TEST_FIXTURES : list [CommandLineTestFixture ] = [
5656 CommandLineTestFixture (
5757 test_id = "g-cmd-inside-git-dir" ,
5858 env = EnvFlag .Git ,
@@ -89,7 +89,7 @@ def test_command_line(
8989 # capsys: pytest.CaptureFixture[str],
9090 test_id : str ,
9191 env : EnvFlag ,
92- argv_args : t . List [str ],
92+ argv_args : list [str ],
9393 expect_cmd : t .Optional [str ],
9494 monkeypatch : pytest .MonkeyPatch ,
9595 tmp_path : pathlib .Path ,
You can’t perform that action at this time.
0 commit comments