@@ -4,7 +4,7 @@ from clickgen.parser.png import DELAY as DELAY, SIZES as SIZES
4
4
from clickgen .writer .windows import to_win as to_win
5
5
from clickgen .writer .x11 import to_x11 as to_x11
6
6
from pathlib import Path
7
- from typing import Any , Dict , List , TypeVar
7
+ from typing import Any , TypeVar
8
8
9
9
class ThemeSection :
10
10
name : str
@@ -16,25 +16,25 @@ class ThemeSection:
16
16
def __gt__ (self , other ): ...
17
17
def __ge__ (self , other ): ...
18
18
19
- def parse_theme_section (d : Dict [str , Any ], ** kwargs ) -> ThemeSection : ...
19
+ def parse_theme_section (d : dict [str , Any ], ** kwargs ) -> ThemeSection : ...
20
20
21
21
class ConfigSection :
22
22
bitmaps_dir : Path
23
23
out_dir : Path
24
- platforms : List [str ]
24
+ platforms : list [str ]
25
25
def __init__ (self , bitmaps_dir , out_dir , platforms ) -> None : ...
26
26
def __lt__ (self , other ): ...
27
27
def __le__ (self , other ): ...
28
28
def __gt__ (self , other ): ...
29
29
def __ge__ (self , other ): ...
30
30
31
- def parse_config_section (fp : Path , d : Dict [str , Any ], ** kwargs ) -> ConfigSection : ...
31
+ def parse_config_section (fp : Path , d : dict [str , Any ], ** kwargs ) -> ConfigSection : ...
32
32
T = TypeVar ('T' )
33
33
34
34
class CursorSection :
35
35
x11_cursor_name : str | None
36
36
x11_cursor : bytes | None
37
- x11_symlinks : List [str ]
37
+ x11_symlinks : list [str ]
38
38
win_cursor_name : str | None
39
39
win_cursor : bytes | None
40
40
def __init__ (self , x11_cursor_name , x11_cursor , x11_symlinks , win_cursor_name , win_cursor ) -> None : ...
@@ -43,12 +43,12 @@ class CursorSection:
43
43
def __gt__ (self , other ): ...
44
44
def __ge__ (self , other ): ...
45
45
46
- def parse_cursors_section (d : Dict [str , Any ], config : ConfigSection , ** kwargs ) -> List [CursorSection ]: ...
46
+ def parse_cursors_section (d : dict [str , Any ], config : ConfigSection , ** kwargs ) -> list [CursorSection ]: ...
47
47
48
48
class ClickgenConfig :
49
49
theme : ThemeSection
50
50
config : ConfigSection
51
- cursors : List [CursorSection ]
51
+ cursors : list [CursorSection ]
52
52
def __init__ (self , theme , config , cursors ) -> None : ...
53
53
def __lt__ (self , other ): ...
54
54
def __le__ (self , other ): ...
0 commit comments